Borderou de evaluare (job #2765535)

Utilizator DragosC1Dragos DragosC1 Data 27 iulie 2021 17:43:24
Problema Cristale Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
15ms262kbIncorect0
23ms131kbIncorect0
33ms131kbIncorect0
410ms131kbIncorect0
54ms131kbIncorect0
624ms262kbIncorect0
712ms262kbIncorect0
88ms131kbIncorect0
932ms262kbIncorect0
1042ms262kbIncorect0
Punctaj total0

Ceva nu functioneaza?