Borderou de evaluare (job #3205179)
Utilizator | Data | 19 februarie 2024 01:26:45 | |
---|---|---|---|
Problema | Amat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'std::pair<int, std::pair<int, int> > findArea(int (*)[1002], int, int, int)':
main.cpp:51:46: error: request for member 'size' in 'mat', which is of non-class type 'int (*)[1002]'
51 | if (insideMatrix(newX, newY, mat.size(), mat[0].size()) && mat[newX][newY] == value) {
| ^~~~
main.cpp:51:61: error: request for member 'size' in '* mat', which is of non-class type 'int [1002]'
51 | if (insideMatrix(newX, newY, mat.size(), mat[0].size()) && mat[newX][newY] == value) {
| ^~~~
main.cpp: In function 'int main()':
main.cpp:126:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
126 | for (unsigned int i = 0; i < lines; i++) {
| ~~^~~~~~~
main.cpp:127:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
127 | for (unsigned int j = 0; j < columns; j++) {
| ~~^~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !