Borderou de evaluare (job #2211506)

Utilizator cc4infinityCojocaru Catalin cc4infinity Data 10 iunie 2018 18:09:44
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void eval()’: user.cpp:21:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (1-t[c]==0) ns.push('a'); else ns.push('b'); ^ user.cpp:31:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (t[c]==0 || t[c1]==0) ns.push('a'); else ns.push('b'); ^ user.cpp:31:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (t[c]==0 || t[c1]==0) ns.push('a'); else ns.push('b'); ^ user.cpp:35:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (t[c]==1 || t[c1]==1) ns.push('b'); else ns.push('a'); ^ user.cpp:35:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (t[c]==1 || t[c1]==1) ns.push('b'); else ns.push('a'); ^ user.cpp:39:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] fout<<t[ns.top()]; ^ user.cpp: In function ‘int main()’: user.cpp:112:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] t[c]=1-t[c]; ^ user.cpp:112:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] t[c]=1-t[c]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1288kbOK10
20ms1288kbOK10
30ms1288kbOK10
40ms1292kbOK10
50ms1296kbOK10
60ms1292kbIncorect0
70ms1288kbOK10
80ms1292kbOK10
90ms1288kbIncorect0
100ms1292kbOK10
Punctaj total80

Ceva nu functioneaza?