Borderou de evaluare (job #1812224)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 21 noiembrie 2016 22:00:47
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:30:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( n -> chl[ch(*str)] == NULL ) { ^ user.cpp:31:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] n -> chl[ch(*str)] = new T; } ^ user.cpp:32:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] insert( n -> chl[ch(*str)], str + 1 ); ^ user.cpp: In function ‘int count(T*, char*)’: user.cpp:61:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] return count( n -> chl[ch(*str)], str + 1 ); } ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:74:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] while( aux != r && aux -> chl[ch(str[i])] == NULL ) { ^ user.cpp:76:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( aux -> chl[ch(str[i])] != NULL ) { ^ user.cpp:77:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux = aux -> chl[ch(str[i])]; } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms540kbOK10
20ms524kbOK10
30ms640kbOK10
416ms1580kbOK10
516ms3828kbOK10
616ms3860kbOK10
720ms3892kbOK10
8392ms56336kbOK10
9Depăşit63532kbTime limit exceeded.0
1060ms5944kbOK10
Punctaj total90

Ceva nu functioneaza?