Borderou de evaluare (job #1812242)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 21 noiembrie 2016 22:12:28
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*, int)’: 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, pos ); ^ user.cpp: In function ‘int count(T*, char*)’: user.cpp:63: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:76:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] while( aux != r && aux -> chl[ch(str[i])] == NULL ) { ^ user.cpp:78:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( aux -> chl[ch(str[i])] != NULL ) { ^ user.cpp:79:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux = aux -> chl[ch(str[i])]; } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms560kbOK10
20ms560kbOK10
34ms708kbOK10
420ms1868kbOK10
516ms4160kbOK10
620ms4188kbOK10
720ms4220kbOK10
8380ms60380kbOK10
9192msDepăşitMemory limit exceeded.0
1060ms6592kbOK10
Punctaj total90

Ceva nu functioneaza?