Borderou de evaluare (job #2493278)

Utilizator DavidLDavid Lauran DavidL Data 16 noiembrie 2019 11:17:32
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 95

Raport evaluator

Compilare: main.cpp: In function 'void adauga(Trie*, int, int)': main.cpp:24:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (poz == strlen(cuv + 1)) ~~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:70:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] cin >> A + 1; ~~^~~ main.cpp:76:20: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] cin >> cuv + 1; ~~~~^~~ main.cpp:88:24: warning: array subscript has type 'char' [-Wchar-subscripts] if (curr->fiu[c]) ^ main.cpp:90:31: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr->fiu[c]; ^ main.cpp:94:44: warning: array subscript has type 'char' [-Wchar-subscripts] while (curr != T && curr->fiu[c] == 0) ^ main.cpp:97:28: warning: array subscript has type 'char' [-Wchar-subscripts] if (curr->fiu[c]) ^ main.cpp:98:35: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr->fiu[c]; ^ main.cpp:106:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < toateNodurile.size(); i++) ~~^~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
32ms131kbOK5
42ms131kbOK5
52ms131kbOK5
612ms1048kbOK5
720ms1310kbOK5
824ms2097kbOK5
926ms2490kbOK5
1021ms1572kbOK5
1121ms1179kbOK5
1222ms1966kbOK5
139ms655kbOK5
149ms786kbOK5
1514ms1441kbOK5
1614ms1572kbOK5
1714ms1441kbOK5
1815ms1179kbOK5
1922ms2228kbOK5
20101ms4456kbTime limit exceeded0
Punctaj total95

Ceva nu functioneaza?