Pagini recente » Borderou de evaluare (job #1799015) | Borderou de evaluare (job #992339) | Borderou de evaluare (job #2824122) | Borderou de evaluare (job #2538302) | Borderou de evaluare (job #2625507)
Borderou de evaluare (job #2625507)
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 | 11ms | 5373kb | OK | 5 |
2 | 15ms | 5767kb | OK | 5 |
3 | 17ms | 6291kb | OK | 5 |
4 | 20ms | 6946kb | OK | 5 |
5 | 24ms | 6815kb | OK | 5 |
6 | 33ms | 6815kb | OK | 5 |
7 | 49ms | 5373kb | OK | 5 |
8 | 76ms | 7471kb | OK | 5 |
9 | 86ms | 7602kb | OK | 5 |
10 | 158ms | 7864kb | OK | 5 |
11 | 301ms | 8519kb | OK | 5 |
12 | 626ms | 9175kb | OK | 5 |
13 | 725ms | 7733kb | OK | 5 |
14 | 780ms | 6946kb | OK | 5 |
15 | 1528ms | 9654kb | Memory limit exceeded | 0 |
16 | 2046ms | 9175kb | OK | 5 |
17 | 1817ms | 9662kb | Memory limit exceeded | 0 |
18 | 2203ms | 9568kb | Time limit exceeded | 0 |
19 | 967ms | 9658kb | Memory limit exceeded | 0 |
20 | 2051ms | 9654kb | Memory limit exceeded | 0 |
Punctaj total | 75 |