Pagini recente » Borderou de evaluare (job #2037764) | Borderou de evaluare (job #1598217) | Borderou de evaluare (job #1192590) | Borderou de evaluare (job #1916496) | Borderou de evaluare (job #2625451)
Borderou de evaluare (job #2625451)
Raport evaluator
Compilare:
main.cpp: In function 'void add_to_list(const int&)':
main.cpp:23: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:59: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:74: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:86:15: warning: unused variable 'ans' [-Wunused-variable]
int ras=0,ans=0;
^~~
main.cpp:82: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:83: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:85:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:127: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 | 7ms | 2097kb | OK | 5 |
2 | 8ms | 2359kb | OK | 5 |
3 | 13ms | 2490kb | OK | 5 |
4 | 12ms | 2490kb | OK | 5 |
5 | 15ms | 2621kb | OK | 5 |
6 | 24ms | 2883kb | OK | 5 |
7 | 45ms | 1966kb | OK | 5 |
8 | 72ms | 3538kb | OK | 5 |
9 | 101ms | 4063kb | OK | 5 |
10 | 202ms | 4718kb | OK | 5 |
11 | 466ms | 6160kb | OK | 5 |
12 | 981ms | 7995kb | OK | 5 |
13 | 1407ms | 7995kb | OK | 5 |
14 | 1013ms | 3964kb | OK | 5 |
15 | 2202ms | 5636kb | Time limit exceeded | 0 |
16 | 2200ms | 4718kb | Time limit exceeded | 0 |
17 | 2200ms | 3932kb | Time limit exceeded | 0 |
18 | 2203ms | 3932kb | Time limit exceeded | 0 |
19 | 2200ms | 3932kb | Time limit exceeded | 0 |
20 | 2200ms | 3670kb | Time limit exceeded | 0 |
Punctaj total | 70 |