Borderou de evaluare (job #1999535)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:27:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++) citeste(prs[i].first),prs[i].second=i;
^
user.cpp: In function ‘void norm()’:
user.cpp:33:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++)
^
user.cpp: In function ‘long long int ans(int)’:
user.cpp:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++)
^
user.cpp:45:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<=n)
^
user.cpp: In function ‘void citeste(unsigned int&)’:
user.cpp:13:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:18:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:65:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secv5.in","r",stdin);
^
user.cpp:66:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secv5.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 8420kb | OK | 10 |
2 | 8ms | 8500kb | OK | 10 |
3 | 12ms | 8564kb | OK | 10 |
4 | 28ms | 8848kb | OK | 10 |
5 | 36ms | 8904kb | OK | 10 |
6 | 92ms | 9948kb | OK | 10 |
7 | 232ms | 11564kb | OK | 10 |
8 | 296ms | 12000kb | OK | 10 |
9 | 404ms | 14068kb | OK | 10 |
10 | 448ms | 15608kb | OK | 10 |
Punctaj total | 100 |