Borderou de evaluare (job #3309976)
| Utilizator | Data | 10 septembrie 2025 22:30:00 | |
|---|---|---|---|
| Problema | Lacuri | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:6:36: error: 'INT_MAX' was not declared in this scope
6 | int n,a[101][101],d[101][101],mini=INT_MAX,nrl,ca[101][101];
| ^~~~~~~
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: In function 'bool valid()':
main.cpp:41:10: error: 'nrl' was not declared in this scope
41 | nrl++;
| ^~~
main.cpp:42:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
42 | if(col(i,j)!=lin(i,j)) return false;int k=lin(i,j);
| ^~
main.cpp:42:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
42 | if(col(i,j)!=lin(i,j)) return false;int k=lin(i,j);
| ^~~
main.cpp: In function 'void bk(int, int, int)':
main.cpp:69:53: error: 'ca' was not declared in this scope; did you mean 'a'?
69 | if(inmat(inou,jnou) && d[inou][jnou]==0 && ca[inou][jnou]==0)
| ^~
| a
main.cpp: In function 'int main()':
main.cpp:86:14: error: 'ca' was not declared in this scope; did you mean 'a'?
86 | ca[i][j]=a[i][j];
| ^~
| a
main.cpp:90:15: error: 'nrl' was not declared in this scope
90 | fout<<nrl<<endl;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
