Borderou de evaluare (job #764028)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Căutare (clasa a 6-a) | Compilator | cpp-32 |
Rundă | lasm_22_02_2024_clasa12 | Status | evaluat |
Dată | 22 feb. 2024 11:35:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool isSubMatrix(const std::vector<std::vector<char> >&, const std::vector<std::vector<char> >&, int, int)':
main.cpp:9:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<char> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
9 | if (row + smallRows > largeMatrix.size() || col + smallCols > largeMatrix[0].size())
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp:9:65: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
9 | if (row + smallRows > largeMatrix.size() || col + smallCols > largeMatrix[0].size())
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~