Pagini recente » Borderou de evaluare (job #2596644) | Borderou de evaluare (job #400813) | Borderou de evaluare (job #1979993) | Borderou de evaluare (job #2755199) | Borderou de evaluare (job #2630982)
Borderou de evaluare (job #2630982)
Raport evaluator
Compilare:
main.cpp: In function 'void add(trie*, char*)':
main.cpp:30:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if (rad->f[ poz[*s] ] == NULL)
^
main.cpp:31:27: warning: array subscript has type 'char' [-Wchar-subscripts]
rad->f[ poz[*s] ] = new trie;
^
main.cpp:33:28: warning: array subscript has type 'char' [-Wchar-subscripts]
add (rad->f[ poz[*s] ], s+1);
^
main.cpp:73:19: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
rad->ch = NULL;
^~~~
main.cpp: In function 'void afis(trie*)':
main.cpp:78:20: warning: NULL used in arithmetic [-Wpointer-arith]
if (rad->ch == NULL)
^~~~
main.cpp:83:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if (rad->f[ poz[rad->ch] ])
^
main.cpp:84: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 | 524kb | Incorect | 0 |
| 7 | 184ms | 33030kb | OK | 5 |
| 8 | 236ms | 42336kb | OK | 5 |
| 9 | 254ms | 47841kb | Incorect | 0 |
| 10 | 248ms | 47054kb | Incorect | 0 |
| 11 | 193ms | 29097kb | Incorect | 0 |
| 12 | 209ms | 37879kb | Incorect | 0 |
| 13 | 246ms | 44171kb | Incorect | 0 |
| 14 | 243ms | 43384kb | Incorect | 0 |
| 15 | 258ms | 48365kb | Incorect | 0 |
| 16 | 255ms | 48521kb | Incorect | 0 |
| 17 | 280ms | 48496kb | Incorect | 0 |
| 18 | 266ms | 48627kb | Incorect | 0 |
| 19 | 256ms | 52387kb | Incorect | 0 |
| 20 | 149ms | 4456kb | Incorect | 0 |
| Punctaj total | 25 |