Pagini recente » Borderou de evaluare (job #1664225) | Borderou de evaluare (job #617981) | Borderou de evaluare (job #928377) | Borderou de evaluare (job #3157913) | Borderou de evaluare (job #2625511)
Borderou de evaluare (job #2625511)
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 | 13ms | 5373kb | OK | 5 |
2 | 15ms | 5767kb | OK | 5 |
3 | 17ms | 6291kb | OK | 5 |
4 | 20ms | 6946kb | OK | 5 |
5 | 25ms | 6815kb | OK | 5 |
6 | 33ms | 6815kb | OK | 5 |
7 | 49ms | 5373kb | OK | 5 |
8 | 76ms | 7340kb | OK | 5 |
9 | 95ms | 7602kb | OK | 5 |
10 | 165ms | 7864kb | OK | 5 |
11 | 321ms | 8519kb | OK | 5 |
12 | 635ms | 9175kb | OK | 5 |
13 | 719ms | 7733kb | OK | 5 |
14 | 922ms | 6946kb | OK | 5 |
15 | 1551ms | 9654kb | Memory limit exceeded | 0 |
16 | 2038ms | 9175kb | OK | 5 |
17 | 2079ms | 9658kb | Memory limit exceeded | 0 |
18 | 2201ms | 9568kb | Time limit exceeded | 0 |
19 | 1119ms | 9662kb | Memory limit exceeded | 0 |
20 | 2088ms | 9654kb | Memory limit exceeded | 0 |
Punctaj total | 75 |