Pagini recente » Borderou de evaluare (job #2741827) | Borderou de evaluare (job #2922439) | Borderou de evaluare (job #1678554) | Borderou de evaluare (job #249999) | Borderou de evaluare (job #2137826)
Borderou de evaluare (job #2137826)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(Trie*, char*)’:
user.cpp:14:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL) {
^
user.cpp: In function ‘bool del(Trie*, char*)’:
user.cpp:25:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL) nod->cnt--;
^
user.cpp: In function ‘int ap(Trie*, char*)’:
user.cpp:37:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL) return nod->cnt;
^
user.cpp: In function ‘int pref(Trie*, char*, int)’:
user.cpp:42:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL) return k;
^
user.cpp: In function ‘int main()’:
user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.in", "r", stdin);
^
user.cpp:49:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.out", "w", stdout);
^
user.cpp:52:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k); scanf("%s\n", s);
^
user.cpp:52:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k); scanf("%s\n", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1496kb | OK | 5 | 5 |
2 | 0ms | 1516kb | OK | 5 | 5 |
3 | 0ms | 1520kb | OK | 5 | 5 |
4 | 0ms | 1508kb | OK | 5 | 5 |
5 | 0ms | 1512kb | OK | 5 | 5 |
6 | 0ms | 1524kb | OK | 5 | 5 |
7 | 4ms | 1560kb | OK | 5 | 5 |
8 | 4ms | 1548kb | OK | 5 | 5 |
9 | 12ms | 1808kb | OK | 5 | 5 |
10 | 16ms | 2732kb | OK | 5 | 5 |
11 | 20ms | 1612kb | OK | 5 | 5 |
12 | 40ms | 4048kb | OK | 5 | 5 |
13 | 44ms | 3584kb | OK | 5 | 5 |
14 | 44ms | 2012kb | OK | 5 | 5 |
15 | 52ms | 1964kb | OK | 5 | 0 |
16 | 80ms | Depăşit | Memory limit exceeded. | 0 |
17 | 72ms | 1544kb | OK | 5 | 10 |
18 | 132ms | 14880kb | OK | 5 |
19 | 64ms | 1556kb | OK | 5 | 0 |
20 | 80ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 80 |