Pagini recente » Borderou de evaluare (job #1771364) | Borderou de evaluare (job #1531191) | Borderou de evaluare (job #968963) | Borderou de evaluare (job #2459091) | Borderou de evaluare (job #2249098)
Borderou de evaluare (job #2249098)
Raport evaluator
Compilare:
user.cpp: In function ‘std::__cxx11::string solve(const string&)’:
user.cpp:23:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[id(ch)] += 2;
^
user.cpp:24:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fB[id(ch)] += 1;
^
user.cpp:28:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[id(a[i])] -= 1;
^
user.cpp:31:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[id(c1)] < f[id(c2)]) {
^
user.cpp:31:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[id(c1)] < f[id(c2)]) {
^
user.cpp:35:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[id(ch)] > f[id(c1)]) {
^
user.cpp:35:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[id(ch)] > f[id(c1)]) {
^
user.cpp:38:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
} else if (f[id(ch)] > f[id(c2)]) {
^
user.cpp:38:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
} else if (f[id(ch)] > f[id(c2)]) {
^
user.cpp:45:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (ch != a[i] && fB[id(ch)] > 0) {
^
user.cpp:47:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[id(ch)] -= 1;
^
user.cpp:55:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[id(c1)] > left / 2 || f[id(c2)] > left / 2) {
^
user.cpp:55:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[id(c1)] > left / 2 || f[id(c2)] > left / 2) {
^
user.cpp:62:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[id(ch)] += 1;
^
user.cpp:68:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[id(b[i])] -= 1;
^
user.cpp:69:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fB[id(b[i])] -= 1;
^
user.cpp: In function ‘int main()’:
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1316kb | Time limit exceeded. | 0 |
Punctaj total | 0 |