Borderou de evaluare (job #643309)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Panda (clasa a 10-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 24 mar. 2022 10:44:59 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:33:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
33 | if(rstk[l]==rst[l])
| ^~
main.cpp:35:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
35 | if(a[i][j]==0)
| ^~
main.cpp:22:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
22 | for(i=1;i<=n;i++)
| ^~~
main.cpp:38:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
38 | if(cer==1){
| ^~
main.cpp:48:5: error: 'd' was not declared in this scope
48 | d[l][c]=1;
| ^
main.cpp:49:1: error: 'v' was not declared in this scope
49 | v[inceput].l=l;
| ^
main.cpp:49:3: error: 'inceput' was not declared in this scope
49 | v[inceput].l=l;
| ^~~~~~~
main.cpp:51:16: error: 'sfarsit' was not declared in this scope
51 | while(inceput<=sfarsit){
| ^~~~~~~
main.cpp:53:1: error: 'y' was not declared in this scope
53 | y=v[inceput].c;
| ^
main.cpp:55:1: error: 'xnou' was not declared in this scope
55 | xnou=x+dl[i];
| ^~~~
main.cpp:55:8: error: 'dl' was not declared in this scope; did you mean 'l'?
55 | xnou=x+dl[i];
| ^~
| l
main.cpp:56:1: error: 'ynou' was not declared in this scope
56 | ynou=y+dc[i];
| ^~~~
main.cpp:56:8: error: 'dc' was not declared in this scope; did you mean 'c'?
56 | ynou=y+dc[i];
| ^~
| c