Borderou de evaluare (job #2909441)
Utilizator | Data | 13 iunie 2022 17:51:29 | |
---|---|---|---|
Problema | Alpin | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int lenght(int, int, int (*)[1025])':
main.cpp:29:9: error: 'l' was not declared in this scope
29 | if (l[line][column] == 0)
| ^
main.cpp:40:12: error: 'l' was not declared in this scope
40 | return l[line][column];
| ^
main.cpp: In function 'void solve(int, int (*)[1025])':
main.cpp:49:13: error: 'l' was not declared in this scope
49 | l[i][j] = lenght(i, j, a);
| ^
main.cpp: In function 'int main()':
main.cpp:59:5: error: 'memset' was not declared in this scope
59 | memset(l, 0, sizeof(l));
| ^~~~~~
main.cpp:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
5 | #include <iostream>
+++ |+#include <cstring>
6 |
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !