Borderou de evaluare (job #1846808)

Utilizator pas.andreiPopovici Andrei-Sorin pas.andrei Data 14 ianuarie 2017 00:59:38
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void insertTrie1(Trie*, int)’: user.cpp:48:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(nod->next[ch]) { ^ user.cpp:49:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] Trie *jeg=nod->next[ch]; ^ user.cpp:55:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] nod->next[ch]=new Trie; ^ user.cpp:56:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] Trie *jeg=nod->next[ch]; ^ user.cpp:62:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] insertTrie1(nod->next[ch],pos+1); ^ user.cpp: In function ‘void insertTrie2(Trie*, int)’: user.cpp:69:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(nod->next[ch]) { ^ user.cpp:70:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] Trie *jeg=nod->next[ch]; ^ user.cpp:74:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] nod->next[ch]=new Trie; ^ user.cpp:75:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] Trie *jeg=nod->next[ch]; ^ user.cpp:79:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] insertTrie2(nod->next[ch],pos+1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms528kbOK10
20ms1268kbOK10
38ms4888kbOK10
456ms29144kbOK10
5Depăşit109404kbTime limit exceeded.0
6Depăşit108220kbTime limit exceeded.0
7Depăşit113896kbTime limit exceeded.0
8Depăşit114156kbTime limit exceeded.0
9Depăşit108884kbTime limit exceeded.0
10Depăşit109672kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?