Borderou de evaluare (job #1812273)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 21 noiembrie 2016 22:29:35
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void insert(T*, std::string&, int)’: user.cpp:29:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( n -> chl[chr] == NULL ) { ^ user.cpp:30:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] n -> chl[chr] = new T; } ^ user.cpp:31:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] n = n -> chl[chr]; } ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:70:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] while( aux != r && aux -> chl[ch(str[i])] == NULL ) { ^ user.cpp:72:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( aux -> chl[ch(str[i])] != NULL ) { ^ user.cpp:73:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux = aux -> chl[ch(str[i])]; } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms632kbOK10
20ms556kbOK10
34ms584kbOK10
420ms1092kbOK10
516ms3852kbOK10
616ms3896kbOK10
720ms3920kbOK10
8292ms53600kbOK10
9348ms60988kbOK10
1048ms5408kbOK10
Punctaj total100

Ceva nu functioneaza?