Pagini recente » Borderou de evaluare (job #2145438) | Autentificare | Borderou de evaluare (job #1413473) | Borderou de evaluare (job #2309269) | Borderou de evaluare (job #2625416)
Borderou de evaluare (job #2625416)
Raport evaluator
Compilare:
main.cpp: In function 'void add_to_hash(const int&)':
main.cpp:13: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:28: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:36: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:37: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:39:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:60: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 | 1703kb | OK | 5 |
| 2 | 8ms | 1835kb | OK | 5 |
| 3 | 11ms | 1835kb | OK | 5 |
| 4 | 16ms | 1966kb | OK | 5 |
| 5 | 23ms | 2097kb | OK | 5 |
| 6 | 45ms | 2228kb | OK | 5 |
| 7 | 59ms | 1835kb | OK | 5 |
| 8 | 147ms | 2752kb | OK | 5 |
| 9 | 197ms | 3014kb | OK | 5 |
| 10 | 355ms | 3276kb | OK | 5 |
| 11 | 752ms | 3870kb | OK | 5 |
| 12 | 1455ms | 4718kb | OK | 5 |
| 13 | 1991ms | 4718kb | OK | 5 |
| 14 | 1663ms | 3227kb | OK | 5 |
| 15 | 2200ms | 2830kb | Time limit exceeded | 0 |
| 16 | 2203ms | 2498kb | Time limit exceeded | 0 |
| 17 | 2203ms | 2211kb | Time limit exceeded | 0 |
| 18 | 2203ms | 2297kb | Time limit exceeded | 0 |
| 19 | 2200ms | 2359kb | Time limit exceeded | 0 |
| 20 | 2202ms | 2301kb | Time limit exceeded | 0 |
| Punctaj total | 70 |