Pagini recente » Borderou de evaluare (job #731741) | Borderou de evaluare (job #2213023) | Borderou de evaluare (job #1731659) | Borderou de evaluare (job #386298) | Borderou de evaluare (job #2625481)
Borderou de evaluare (job #2625481)
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:144: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 | 7ms | 2228kb | OK | 5 |
| 3 | 8ms | 2359kb | OK | 5 |
| 4 | 9ms | 2359kb | OK | 5 |
| 5 | 13ms | 2359kb | Incorect | 0 |
| 6 | 23ms | 2359kb | Incorect | 0 |
| 7 | 39ms | 1835kb | Incorect | 0 |
| 8 | 61ms | 2621kb | Incorect | 0 |
| 9 | 89ms | 2752kb | Incorect | 0 |
| 10 | 160ms | 2752kb | Incorect | 0 |
| 11 | 307ms | 3014kb | Incorect | 0 |
| 12 | 677ms | 3407kb | Incorect | 0 |
| 13 | 675ms | 2621kb | Incorect | 0 |
| 14 | 809ms | 2883kb | Incorect | 0 |
| 15 | 1897ms | 3670kb | Incorect | 0 |
| 16 | 1921ms | 3276kb | Incorect | 0 |
| 17 | 2201ms | 4718kb | Time limit exceeded | 0 |
| 18 | 2203ms | 4587kb | Time limit exceeded | 0 |
| 19 | 2200ms | 5636kb | Time limit exceeded | 0 |
| 20 | 2203ms | 4636kb | Time limit exceeded | 0 |
| Punctaj total | 20 |