Borderou de evaluare (job #2216293)

Utilizator NOSCOPEPROKENDYMACHEAMACUMVREAU NOSCOPEPROKENDY Data 26 iunie 2018 12:03:32
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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:119:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] t[c]=1-t[c]; ^ user.cpp:119:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] t[c]=1-t[c]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1256kbOK10
20ms1256kbOK10
30ms1260kbOK10
40ms1256kbOK10
50ms1256kbOK10
60ms1264kbOK10
70ms1256kbOK10
80ms1264kbOK10
90ms1260kbOK10
100ms1256kbOK10
Punctaj total100

Ceva nu functioneaza?