Borderou de evaluare (job #2659262)

Utilizator vlad414141414141Vlad Ionescu vlad414141414141 Data 16 octombrie 2020 12:57:06
Problema Dreptunghiuri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void mark(int, int)': main.cpp:14:21: error: 't' was not declared in this scope if(!viz[i+dx[t]][j+dy[t]] && a[i+dx[t]][j+dy[t]]==1)mark(i+dx[t],j+dy[t]); ^ main.cpp: In function 'void solve(int, int, int, int, int)': main.cpp:35:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(l1 && a[i1+1][j1+1]==1)++j1; viz[i1][j1]=1; ^~ main.cpp:35:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(l1 && a[i1+1][j1+1]==1)++j1; viz[i1][j1]=1; ^~~ main.cpp:41:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(l1 && a[i1+1][j1-1]==1)++i1; viz[i1][j1]=1; ^~ main.cpp:41:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(l1 && a[i1+1][j1-1]==1)++i1; viz[i1][j1]=1; ^~~ main.cpp:49:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(l1 && a[i1-1][j1-1]==1)--j1; viz[i1][j1]=1; ^~ main.cpp:49:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(l1 && a[i1-1][j1-1]==1)--j1; viz[i1][j1]=1; ^~~ main.cpp:59:72: error: 'explore' was not declared in this scope if(q+2<=i2-2 && q1+2<=j2-2)explore(q+2,i2-2,q1+2,j2-2,K+1); ^ main.cpp: In function 'int main()': main.cpp:73:22: error: 'explore' was not declared in this scope explore(1,N,1,M,1); ^ Non zero exit status: 1

Ceva nu functioneaza?