Pagini recente » Borderou de evaluare (job #1216164) | Borderou de evaluare (job #1014335) | Borderou de evaluare (job #704310) | Borderou de evaluare (job #1520625) | Borderou de evaluare (job #2625488)
Borderou de evaluare (job #2625488)
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 | 6ms | 1835kb | OK | 5 |
2 | 8ms | 2228kb | OK | 5 |
3 | 8ms | 2359kb | OK | 5 |
4 | 9ms | 2359kb | OK | 5 |
5 | 12ms | 2359kb | OK | 5 |
6 | 19ms | 2490kb | OK | 5 |
7 | 29ms | 1835kb | OK | 5 |
8 | 55ms | 2752kb | OK | 5 |
9 | 76ms | 3014kb | OK | 5 |
10 | 148ms | 3145kb | OK | 5 |
11 | 314ms | 3932kb | OK | 5 |
12 | 823ms | 4456kb | OK | 5 |
13 | 702ms | 3014kb | OK | 5 |
14 | 673ms | 3145kb | OK | 5 |
15 | 2200ms | 4980kb | Time limit exceeded | 0 |
16 | 2202ms | 4272kb | Time limit exceeded | 0 |
17 | 2202ms | 4837kb | Time limit exceeded | 0 |
18 | 2202ms | 4849kb | Time limit exceeded | 0 |
19 | 2202ms | 5767kb | Time limit exceeded | 0 |
20 | 2201ms | 4616kb | Time limit exceeded | 0 |
Punctaj total | 70 |