Borderou de evaluare (job #2806566)

Utilizator LucaMihaiLM10Luca Ilie LucaMihaiLM10 Data 22 noiembrie 2021 19:42:15
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

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
12ms184kbOK55
22ms184kbOK55
32ms184kbOK55
42ms184kbOK55
52ms184kbOK55
62ms184kbOK55
72ms184kbOK55
86ms299kbOK55
96ms561kbOK55
1011ms1466kbOK55
1111ms372kbOK55
1230ms2899kbOK55
1335ms2424kbOK55
1430ms811kbOK55
1535ms774kbOK510
16120ms20414kbOK5
1740ms397kbOK510
18111ms15372kbOK5
1940ms405kbOK510
20139ms25796kbOK5
Punctaj total100

Ceva nu functioneaza?