Pagini recente » Borderou de evaluare (job #101963) | Borderou de evaluare (job #2101851) | Borderou de evaluare (job #2763406) | Borderou de evaluare (job #1374464) | Borderou de evaluare (job #2625499)
Borderou de evaluare (job #2625499)
Raport evaluator
Compilare:
main.cpp: In function 'void add_to_list(const int&)':
main.cpp:24:10: warning: variable 'r' set but not used [-Wunused-but-set-variable]
nod* r=p;
^
main.cpp: In function 'void add_to_hash(const int&)':
main.cpp:60:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[bucket].size();++i)
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int hash_search(const int&)':
main.cpp:75:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[bucket].size();++i)
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void read()':
main.cpp:83:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("take5.in", "r", stdin);
^
main.cpp:84:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &sum);
^
main.cpp:86:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:145:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("take5.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 11ms | 4980kb | OK | 5 |
2 | 14ms | 5505kb | OK | 5 |
3 | 16ms | 6029kb | OK | 5 |
4 | 18ms | 6553kb | OK | 5 |
5 | 21ms | 6553kb | OK | 5 |
6 | 28ms | 6553kb | OK | 5 |
7 | 36ms | 4980kb | OK | 5 |
8 | 59ms | 7077kb | OK | 5 |
9 | 77ms | 7340kb | OK | 5 |
10 | 136ms | 7471kb | OK | 5 |
11 | 285ms | 8126kb | OK | 5 |
12 | 596ms | 8777kb | OK | 5 |
13 | 646ms | 7340kb | OK | 5 |
14 | 663ms | 6688kb | OK | 5 |
15 | 1939ms | 9654kb | Memory limit exceeded | 0 |
16 | 1842ms | 8781kb | OK | 5 |
17 | 2201ms | 9650kb | Time limit exceeded | 0 |
18 | 2204ms | 9465kb | Time limit exceeded | 0 |
19 | 1316ms | 9654kb | Memory limit exceeded | 0 |
20 | 2203ms | 9568kb | Time limit exceeded | 0 |
Punctaj total | 75 |