Pagini recente » Borderou de evaluare (job #372879) | Borderou de evaluare (job #1411514) | Borderou de evaluare (job #2783071) | Borderou de evaluare (job #179111) | Borderou de evaluare (job #2834344)
Borderou de evaluare (job #2834344)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:22: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | minn[ch] = min(minn[ch], {i - 1, j - 1});
| ^~
main.cpp:33:37: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | minn[ch] = min(minn[ch], {i - 1, j - 1});
| ^~
main.cpp:34:22: warning: array subscript has type 'char' [-Wchar-subscripts]
34 | maxx[ch] = max(maxx[ch], {i - 1, j - 1});
| ^~
main.cpp:34:37: warning: array subscript has type 'char' [-Wchar-subscripts]
34 | maxx[ch] = max(maxx[ch], {i - 1, j - 1});
| ^~
main.cpp:80:40: warning: array subscript has type 'char' [-Wchar-subscripts]
80 | if(dir[mat[i][j]] && ((mat[i][j - 1] < 'A' && j - 1 == 1) || (mat[i][j + 1] < 'A' && j + 1 == n)))
| ~~~~~~~~^
main.cpp:82:41: warning: array subscript has type 'char' [-Wchar-subscripts]
82 | if(!dir[mat[i][j]] && ((mat[i - 1][j] < 'A' && i - 1 == 1) || (mat[i + 1][j] < 'A' && i + 1 == n)))
| ~~~~~~~~^
main.cpp:108:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
108 | for(int i = 0; i < rez.size(); ++i)
| ~~^~~~~~~~~~~~
main.cpp:130:36: warning: array subscript has type 'char' [-Wchar-subscripts]
130 | if(dir[mat[i][j]])
| ~~~~~~~~^
main.cpp:136:51: warning: array subscript has type 'char' [-Wchar-subscripts]
136 | newMsk ^= (mn[mat[i][j]] << (6 * dist)), newMsk ^= (mx[mat[i][j]] << (6 * dist + 3));
| ~~~~~~~~^
main.cpp:136:92: warning: array subscript has type 'char' [-Wchar-subscripts]
136 | newMsk ^= (mn[mat[i][j]] << (6 * dist)), newMsk ^= (mx[mat[i][j]] << (6 * dist + 3));
| ~~~~~~~~^
main.cpp:137:52: warning: array subscript has type 'char' [-Wchar-subscripts]
137 | newMsk |= ((mn[mat[i][j]] - 1) << (6 * dist)), newMsk |= ((mx[mat[i][j]] - 1) << (6 * dist + 3));
| ~~~~~~~~^
main.cpp:137:99: warning: array subscript has type 'char' [-Wchar-subscripts]
137 | newMsk |= ((mn[mat[i][j]] - 1) << (6 * dist)), newMsk |= ((mx[mat[i][j]] - 1) << (6 * dist + 3));
| ~~~~~~~~^
main.cpp:148:51: warning: array subscript has type 'char' [-Wchar-subscripts]
148 | newMsk ^= (mn[mat[i][j]] << (6 * dist)), newMsk ^= (mx[mat[i][j]] << (6 * dist + 3));
| ~~~~~~~~^
main.cpp:148:92: warning: array subscript has type 'char' [-Wchar-subscripts]
148 | newMsk ^= (mn[mat[i][j]] << (6 * dist)), newMsk ^= (mx[mat[i][j]] << (6 * dist + 3));
| ~~~~~~~~^
main.cpp:149:52: warning: array subscript has type 'char' [-Wchar-subscripts]
149 | newMsk |= ((mn[mat[i][j]] + 1) << (6 * dist)), newMsk |= ((mx[mat[i][j]] + 1) << (6 * dist + 3));
| ~~~~~~~~^
main.cpp:149:99: warning: array subscript has type 'char' [-Wchar-subscripts]
149 | newMsk |= ((mn[mat[i][j]] + 1) << (6 * dist)), newMsk |= ((mx[mat[i][j]] + 1) << (6 * dist + 3));
| ~~~~~~~~^
main.cpp:163:51: warning: array subscript has type 'char' [-Wchar-subscripts]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Eroare de prezentare | 0 |
2 | 2ms | 184kb | Eroare de prezentare | 0 |
3 | 2ms | 184kb | Eroare de prezentare | 0 |
4 | 2ms | 184kb | Eroare de prezentare | 0 |
5 | 2ms | 184kb | Eroare de prezentare | 0 |
6 | 2ms | 184kb | Eroare de prezentare | 0 |
7 | 6ms | 331kb | Eroare de prezentare | 0 |
8 | 6ms | 335kb | Eroare de prezentare | 0 |
9 | 49ms | 1179kb | Eroare de prezentare | 0 |
10 | 35ms | 892kb | Eroare de prezentare | 0 |
Punctaj total | 0 |