Pagini recente » Borderou de evaluare (job #2135897) | Borderou de evaluare (job #2845134) | Borderou de evaluare (job #181357) | Borderou de evaluare (job #891400) | Borderou de evaluare (job #1383965)
Borderou de evaluare (job #1383965)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(l=0; l<h.size(); ++l)if(h[l].first==k){h[l].second++;break;}
^
user.cpp:37:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(l==h.size()){h.push_back(make_pair(k, 1));}
^
user.cpp:29:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in", "r", stdin);
^
user.cpp:30:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.out", "w", stdout);
^
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:33:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 452kb | OK | 10 |
5 | 1704ms | 784kb | OK | 10 |
6 | 3124ms | 912kb | OK | 10 |
7 | 1568ms | 564kb | OK | 10 |
8 | 2744ms | 912kb | OK | 10 |
9 | Depăşit | 784kb | Time limit exceeded. | 0 |
10 | Depăşit | 1328kb | Time limit exceeded. | 0 |
Punctaj total | 80 |