Borderou de evaluare (job #1812176)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 21 noiembrie 2016 21:26:27
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void insert(T*, char*)’: user.cpp:27:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( n -> chl[*str] == NULL ) { ^ user.cpp:28:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] n -> chl[*str] = new T; } ^ user.cpp:29:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] insert( n -> chl[*str], str + 1 ); ^ user.cpp: In function ‘int count(T*, char*)’: user.cpp:58:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] return count( n -> chl[*str], str + 1 ); } ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:77:45: warning: array subscript has type ‘char’ [-Wchar-subscripts] while( aux != r && aux -> chl[str[i]] == NULL ) { ^ user.cpp:79:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( aux -> chl[str[i]] != NULL ) { ^ user.cpp:80:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux = aux -> chl[str[i]]; } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms548kbOK10
20ms524kbOK10
30ms656kbOK10
416ms1604kbOK10
516ms3936kbOK10
620ms3972kbOK10
720ms4004kbOK10
8400ms58128kbOK10
9Depăşit65552kbTime limit exceeded.0
1056ms6104kbOK10
Punctaj total90

Ceva nu functioneaza?