Borderou de evaluare (job #1526497)

Utilizator Liviu_Ionut_MoantaMoanta Ionut Liviu Liviu_Ionut_Moanta Data 16 noiembrie 2015 19:49:46
Problema Char Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[ a[i] ] = 1; ^ user.cpp:23:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (f[c] == 1) { ^ user.cpp:25:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[c] = p; ^ user.cpp:30:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (f[ a[i] ] > maxim) { ^ user.cpp:31:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] maxim = f[ a[i] ]; ^ user.cpp:34:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( f[ a[i] ] == maxim ) ^ user.cpp:38:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] st = i - f[ a[i] ]; ^ user.cpp:41:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] dr = i + f[ a[i] ]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms504kbOK10
20ms508kbOK10
30ms500kbOK10
40ms500kbOK10
50ms500kbOK10
60ms512kbOK10
70ms508kbOK10
80ms516kbOK10
90ms516kbOK10
100ms512kbOK10
Punctaj total100

Ceva nu functioneaza?