Pagini recente » Borderou de evaluare (job #525079) | Borderou de evaluare (job #1532793) | Borderou de evaluare (job #935916) | Borderou de evaluare (job #619765) | Borderou de evaluare (job #2630979)
Borderou de evaluare (job #2630979)
Raport evaluator
Compilare:
main.cpp: In function 'void add(trie*, char*)':
main.cpp:29:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if (rad->f[ poz[*s] ] == NULL){
^
main.cpp:30:27: warning: array subscript has type 'char' [-Wchar-subscripts]
rad->f[ poz[*s] ] = new trie;
^
main.cpp:34:28: warning: array subscript has type 'char' [-Wchar-subscripts]
add (rad->f[ poz[*s] ], s+1);
^
main.cpp:75:19: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
rad->ch = NULL;
^~~~
main.cpp: In function 'void afis(trie*)':
main.cpp:80:20: warning: NULL used in arithmetic [-Wpointer-arith]
if (rad->ch == NULL)
^~~~
main.cpp:85:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if (rad->f[ poz[rad->ch] ])
^
main.cpp:86:34: warning: array subscript has type 'char' [-Wchar-subscripts]
afis (rad->f[ poz[rad->ch] ]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 5ms | 524kb | OK | 5 |
4 | 4ms | 524kb | Incorect | 0 |
5 | 5ms | 524kb | Incorect | 0 |
6 | 5ms | 655kb | Incorect | 0 |
7 | 188ms | 33161kb | OK | 5 |
8 | 220ms | 42336kb | OK | 5 |
9 | 244ms | 47841kb | Incorect | 0 |
10 | 246ms | 47185kb | Incorect | 0 |
11 | 192ms | 29097kb | Incorect | 0 |
12 | 221ms | 37879kb | Incorect | 0 |
13 | 238ms | 44171kb | Incorect | 0 |
14 | 244ms | 43384kb | Incorect | 0 |
15 | 238ms | 48365kb | Incorect | 0 |
16 | 255ms | 48496kb | Incorect | 0 |
17 | 232ms | 48496kb | Incorect | 0 |
18 | 243ms | 48627kb | Incorect | 0 |
19 | 265ms | 52428kb | Incorect | 0 |
20 | 165ms | 4456kb | Incorect | 0 |
Punctaj total | 25 |