Borderou de evaluare (job #1433635)

Utilizator Eugen01Vasilescu Eugen Eugen01 Data 9 mai 2015 17:15:09
Problema Play With Strings Status done
Runda corectarea_bugurilor Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < s.size(); i++) ^ user.cpp:29:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] cnt[s[i]]++; ^ user.cpp:50:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < s.size(); i++) { ^ user.cpp:51:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (change[s[i]] == 0 && s[i] == s2[i]) continue; ^ user.cpp:52:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (change[s[i]] == s2[i]) continue; ^ user.cpp:59:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (change[s[i]] == s2[i]) continue; ^ user.cpp:61:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (change[s[i]] == 0 && !changed[s2[i]]) { ^ user.cpp:61:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (change[s[i]] == 0 && !changed[s2[i]]) { ^ user.cpp:62:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] change[s[i]] = s2[i]; ^ user.cpp:63:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] changed[s2[i]] = true; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbIncorect0
20ms452kbIncorect0
30ms444kbIncorect0
40ms432kbIncorect0
50ms444kbIncorect0
60ms456kbIncorect0
70ms452kbOK10
80ms456kbIncorect0
90ms448kbIncorect0
100ms452kbIncorect0
Punctaj total10

Ceva nu functioneaza?