Pagini recente » Borderou de evaluare (job #3128591) | Borderou de evaluare (job #549876) | Borderou de evaluare (job #377035) | Borderou de evaluare (job #614217) | Borderou de evaluare (job #2806566)
Borderou de evaluare (job #2806566)
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 | OK | 5 | 5 |
| 2 | 2ms | 184kb | OK | 5 | 5 |
| 3 | 2ms | 184kb | OK | 5 | 5 |
| 4 | 2ms | 184kb | OK | 5 | 5 |
| 5 | 2ms | 184kb | OK | 5 | 5 |
| 6 | 2ms | 184kb | OK | 5 | 5 |
| 7 | 2ms | 184kb | OK | 5 | 5 |
| 8 | 6ms | 299kb | OK | 5 | 5 |
| 9 | 6ms | 561kb | OK | 5 | 5 |
| 10 | 11ms | 1466kb | OK | 5 | 5 |
| 11 | 11ms | 372kb | OK | 5 | 5 |
| 12 | 30ms | 2899kb | OK | 5 | 5 |
| 13 | 35ms | 2424kb | OK | 5 | 5 |
| 14 | 30ms | 811kb | OK | 5 | 5 |
| 15 | 35ms | 774kb | OK | 5 | 10 |
| 16 | 120ms | 20414kb | OK | 5 |
| 17 | 40ms | 397kb | OK | 5 | 10 |
| 18 | 111ms | 15372kb | OK | 5 |
| 19 | 40ms | 405kb | OK | 5 | 10 |
| 20 | 139ms | 25796kb | OK | 5 |
| Punctaj total | 100 |