Pagini recente » Borderou de evaluare (job #1743765) | Borderou de evaluare (job #1242075) | Borderou de evaluare (job #1629946) | Borderou de evaluare (job #2570965) | Borderou de evaluare (job #2806559)
Borderou de evaluare (job #2806559)
Raport evaluator
Compilare:
main.cpp: In function 'void insertTrie(trieNode*, char*, int)':
main.cpp:34:32: warning: array subscript has type 'char' [-Wchar-subscripts]
34 | if ( temp->child[word[i]] == NULL )
| ~~~~~~^
main.cpp:35:31: warning: array subscript has type 'char' [-Wchar-subscripts]
35 | temp->child[word[i]] = createNode();
| ~~~~~~^
main.cpp:36:34: warning: array subscript has type 'char' [-Wchar-subscripts]
36 | temp = temp->child[word[i]];
| ~~~~~~^
main.cpp: In function 'void deleteTrie(trieNode*, char*, int)':
main.cpp:49:32: warning: array subscript has type 'char' [-Wchar-subscripts]
49 | if ( temp->child[word[i]] == NULL )
| ~~~~~~^
main.cpp:50:31: warning: array subscript has type 'char' [-Wchar-subscripts]
50 | temp->child[word[i]] = createNode();
| ~~~~~~^
main.cpp:51:34: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | temp = temp->child[word[i]];
| ~~~~~~^
main.cpp: In function 'int words(trieNode*, char*, int)':
main.cpp:64:34: warning: array subscript has type 'char' [-Wchar-subscripts]
64 | temp = temp->child[word[i]];
| ~~~~~~^
main.cpp: In function 'int prefix(trieNode*, char*, int)':
main.cpp:79:34: warning: array subscript has type 'char' [-Wchar-subscripts]
79 | temp = temp->child[word[i]];
| ~~~~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 184kb | Incorect | 0 | 0 |
| 2 | 2ms | 184kb | OK | 5 | 5 |
| 3 | 2ms | 184kb | Incorect | 0 | 0 |
| 4 | 2ms | 184kb | Incorect | 0 | 0 |
| 5 | 2ms | 184kb | Incorect | 0 | 0 |
| 6 | 2ms | 184kb | Incorect | 0 | 0 |
| 7 | 2ms | 184kb | Incorect | 0 | 0 |
| 8 | 6ms | 303kb | Incorect | 0 | 0 |
| 9 | 6ms | 565kb | Incorect | 0 | 0 |
| 10 | 11ms | 1449kb | Incorect | 0 | 0 |
| 11 | 11ms | 372kb | Incorect | 0 | 0 |
| 12 | 30ms | 2899kb | Incorect | 0 | 0 |
| 13 | 35ms | 2424kb | Incorect | 0 | 0 |
| 14 | 30ms | 811kb | Incorect | 0 | 0 |
| 15 | 35ms | 774kb | Incorect | 0 | 0 |
| 16 | 115ms | 20381kb | Incorect | 0 |
| 17 | 40ms | 397kb | Incorect | 0 | 0 |
| 18 | 113ms | 15294kb | Incorect | 0 |
| 19 | 40ms | 405kb | Incorect | 0 | 0 |
| 20 | 140ms | 25804kb | Incorect | 0 |
| Punctaj total | 5 |