Borderou de evaluare (job #2290264)

Utilizator DavidLDavid Lauran DavidL Data 26 noiembrie 2018 10:52:45
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void baga(trie*, int)': main.cpp:32:19: warning: array subscript has type 'char' [-Wchar-subscripts] if (nod->fiu[c] == 0) /// nu are fiul asta ^ main.cpp:34:19: warning: array subscript has type 'char' [-Wchar-subscripts] nod->fiu[c] = new trie; ^ main.cpp:38:20: warning: array subscript has type 'char' [-Wchar-subscripts] baga(nod->fiu[c], poz + 1); ^ main.cpp: In function 'int scoate(trie*, int)': main.cpp:49:31: warning: array subscript has type 'char' [-Wchar-subscripts] else if (scoate(nod->fiu[c], poz + 1)) /// a murit fiul ^ main.cpp:52:19: warning: array subscript has type 'char' [-Wchar-subscripts] nod->fiu[c] = 0; ^ main.cpp: In function 'int ap(trie*, int)': main.cpp:72:19: warning: array subscript has type 'char' [-Wchar-subscripts] if (nod->fiu[c] == 0) ^ main.cpp:75:25: warning: array subscript has type 'char' [-Wchar-subscripts] return ap(nod->fiu[c], poz + 1); ^ main.cpp: In function 'int pre(trie*, int)': main.cpp:82:34: warning: array subscript has type 'char' [-Wchar-subscripts] if (poz == lung || nod->fiu[c] == 0) ^ main.cpp:85:26: warning: array subscript has type 'char' [-Wchar-subscripts] return pre(nod->fiu[c], poz + 1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
23ms131kbKilled by Signal 1100
33ms131kbIncorect00
43ms131kbIncorect00
53ms131kbIncorect00
64ms131kbIncorect00
76ms262kbIncorect00
87ms262kbIncorect00
98ms393kbKilled by Signal 1100
1015ms1441kbKilled by Signal 1100
118ms262kbKilled by Signal 1100
1219ms2621kbKilled by Signal 1100
1318ms2228kbKilled by Signal 1100
1412ms655kbKilled by Signal 1100
1512ms655kbKilled by Signal 1100
1640ms9437kbKilled by Signal 110
177ms131kbKilled by Signal 1100
1834ms7733kbKilled by Signal 110
198ms262kbKilled by Signal 1100
2040ms9306kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?