Borderou de evaluare (job #2975892)
Utilizator | Data | 7 februarie 2023 20:13:46 | |
---|---|---|---|
Problema | Jocul Flip | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:18: error: 'INT_MAX' was not declared in this scope
9 | long s=0,x,a[INT_MAX][16];
| ^~~~~~~
main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <fstream>
+++ |+#include <climits>
3 | using namespace std;
main.cpp:18:13: error: 'a' was not declared in this scope
18 | a[i][j]=x;
| ^
main.cpp:25:17: error: 'a' was not declared in this scope
25 | s1+=a[i][j];
| ^
main.cpp:30:17: error: 'a' was not declared in this scope
30 | a[i][j]=-a[i][j];
| ^
main.cpp:37:17: error: 'a' was not declared in this scope
37 | s1+=a[i][j];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !