Pagini recente » Borderou de evaluare (job #3040936) | Borderou de evaluare (job #2516639) | Borderou de evaluare (job #46966) | Matperm2 | Borderou de evaluare (job #2283997)
Borderou de evaluare (job #2283997)
Raport evaluator
Compilare:
main.cpp: In constructor 'trie::trie()':
main.cpp:12:36: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null]
memset(next, NULL, sizeof(next));
^
main.cpp: In function 'void baga(trie*, int)':
main.cpp:32:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if (t->next[tip[s[poz]]] == NULL)
^
main.cpp:33:23: warning: array subscript has type 'char' [-Wchar-subscripts]
t->next[tip[s[poz]]] = new trie;
^
main.cpp:34:26: warning: array subscript has type 'char' [-Wchar-subscripts]
baga(t->next[tip[s[poz]]], poz + 1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 5ms | 524kb | Incorect | 0 |
| 4 | 4ms | 524kb | Incorect | 0 |
| 5 | 5ms | 655kb | Incorect | 0 |
| 6 | 5ms | 655kb | OK | 5 |
| 7 | 172ms | 33161kb | Incorect | 0 |
| 8 | 256ms | 42467kb | Incorect | 0 |
| 9 | 268ms | 47972kb | Incorect | 0 |
| 10 | 283ms | 47185kb | Incorect | 0 |
| 11 | 186ms | 29097kb | Incorect | 0 |
| 12 | 233ms | 37879kb | Incorect | 0 |
| 13 | 260ms | 44171kb | Incorect | 0 |
| 14 | 243ms | 43384kb | Incorect | 0 |
| 15 | 283ms | 48365kb | Incorect | 0 |
| 16 | 273ms | 48496kb | Incorect | 0 |
| 17 | 274ms | 48496kb | Incorect | 0 |
| 18 | 271ms | 48627kb | Incorect | 0 |
| 19 | 286ms | 54001kb | Incorect | 0 |
| 20 | 207ms | 4456kb | Incorect | 0 |
| Punctaj total | 5 |