Borderou de evaluare (job #1462173)

Utilizator borcanirobertBorcani Robert borcanirobert Data 17 iulie 2015 12:04:36
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] val[x] = !val[x]; ^ user.cpp:32:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] val[x] = !val[x]; ^ user.cpp:23:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp: In function ‘bool Solve()’: user.cpp:66:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( so[h] == 2 ) sn[h] = val[x] && sn[h]; ^ user.cpp:67:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( so[h] == 3 ) sn[h] = val[x] || sn[h]; ^ user.cpp:68:58: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( so[h] == 4 ) sn[h] = (!val[x]) && sn[h]; ^ user.cpp:69:58: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( so[h] == 5 ) sn[h] = (!val[x]) || sn[h]; ^ user.cpp:70:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( so[h] == 6 ) sn[h] = !val[x]; ^ user.cpp:74:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] sn[h] = val[x]; ^ user.cpp:45:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbIncorect0
20ms432kbOK10
30ms428kbIncorect0
40ms432kbOK10
50ms428kbOK10
60ms436kbOK10
70ms428kbIncorect0
80ms432kbOK10
90ms428kbOK10
100ms428kbOK10
Punctaj total70

Ceva nu functioneaza?