Borderou de evaluare (job #1812258)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 21 noiembrie 2016 22:19:53
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:31:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( n -> chl[ch(*str)] == NULL ) { ^ user.cpp:32:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] n -> chl[ch(*str)] = new T; } ^ user.cpp:33:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] insert( n -> chl[ch(*str)], str + 1, pos ); ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:72:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] while( aux != r && aux -> chl[ch(str[i])] == NULL ) { ^ user.cpp:74:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( aux -> chl[ch(str[i])] != NULL ) { ^ user.cpp:75:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux = aux -> chl[ch(str[i])]; } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms552kbOK10
20ms528kbOK10
34ms572kbOK10
420ms1084kbOK10
516ms4028kbOK10
620ms4060kbOK10
720ms4092kbOK10
8380ms59600kbOK10
9228msDepăşitMemory limit exceeded.0
1056ms5808kbOK10
Punctaj total90

Ceva nu functioneaza?