Pagini recente » Borderou de evaluare (job #1378272) | Borderou de evaluare (job #1136172) | Borderou de evaluare (job #707366) | Borderou de evaluare (job #1870818) | Borderou de evaluare (job #2625504)
Borderou de evaluare (job #2625504)
Raport evaluator
Compilare:
main.cpp: In function 'void add_to_list(const int&)':
main.cpp:28: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:66: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:81: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:89: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:90: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:92:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:151: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 | 12ms | 4980kb | OK | 5 |
2 | 14ms | 5373kb | OK | 5 |
3 | 16ms | 5898kb | OK | 5 |
4 | 19ms | 6422kb | OK | 5 |
5 | 24ms | 6422kb | OK | 5 |
6 | 33ms | 6422kb | OK | 5 |
7 | 48ms | 4980kb | OK | 5 |
8 | 76ms | 6815kb | OK | 5 |
9 | 95ms | 7208kb | OK | 5 |
10 | 171ms | 7340kb | OK | 5 |
11 | 335ms | 7995kb | OK | 5 |
12 | 742ms | 8650kb | OK | 5 |
13 | 730ms | 7208kb | OK | 5 |
14 | 818ms | 6553kb | OK | 5 |
15 | 1913ms | 9641kb | OK | 5 |
16 | 2044ms | 8650kb | OK | 5 |
17 | 2203ms | 9175kb | Time limit exceeded | 0 |
18 | 2203ms | 8986kb | Time limit exceeded | 0 |
19 | 1602ms | 9654kb | Memory limit exceeded | 0 |
20 | 2200ms | 9043kb | Time limit exceeded | 0 |
Punctaj total | 80 |