Pagini recente » Borderou de evaluare (job #3263566) | Borderou de evaluare (job #2281860) | Borderou de evaluare (job #3211632) | Borderou de evaluare (job #2256672) | Borderou de evaluare (job #2765535)
Borderou de evaluare (job #2765535)
Raport evaluator
Compilare:
main.cpp: In function 'void read()':
main.cpp:16:10: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch1][ch2] = a[ch2][ch1] = ch3;
^
main.cpp:16:15: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch1][ch2] = a[ch2][ch1] = ch3;
^
main.cpp:16:24: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch1][ch2] = a[ch2][ch1] = ch3;
^
main.cpp:16:29: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch1][ch2] = a[ch2][ch1] = ch3;
^
main.cpp:17:10: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch1][ch3] = a[ch3][ch1] = ch2;
^
main.cpp:17:15: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch1][ch3] = a[ch3][ch1] = ch2;
^
main.cpp:17:24: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch1][ch3] = a[ch3][ch1] = ch2;
^
main.cpp:17:29: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch1][ch3] = a[ch3][ch1] = ch2;
^
main.cpp:18:10: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch2][ch3] = a[ch3][ch2] = ch1;
^
main.cpp:18:15: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch2][ch3] = a[ch3][ch2] = ch1;
^
main.cpp:18:24: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch2][ch3] = a[ch3][ch2] = ch1;
^
main.cpp:18:29: warning: array subscript has type 'char' [-Wchar-subscripts]
a[ch2][ch3] = a[ch3][ch2] = ch1;
^
main.cpp: In function 'void solve()':
main.cpp:33:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < s[i].size() - 1; j++)
~~^~~~~~~~~~~~~~~~~
main.cpp:36:59: warning: array subscript has type 'char' [-Wchar-subscripts]
if (j != 0 && s[i][j - 1] == a[s[i][j]][s[i][j + 1]])
^
main.cpp:36:72: warning: array subscript has type 'char' [-Wchar-subscripts]
if (j != 0 && s[i][j - 1] == a[s[i][j]][s[i][j + 1]])
^
main.cpp:38:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j != s[i].size() - 2 && s[i][j + 2] == a[s[i][j]][s[i][j + 1]])
~~^~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 262kb | Incorect | 0 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 10ms | 131kb | Incorect | 0 |
5 | 4ms | 131kb | Incorect | 0 |
6 | 24ms | 262kb | Incorect | 0 |
7 | 12ms | 262kb | Incorect | 0 |
8 | 8ms | 131kb | Incorect | 0 |
9 | 32ms | 262kb | Incorect | 0 |
10 | 42ms | 262kb | Incorect | 0 |
Punctaj total | 0 |