Borderou de evaluare (job #2879726)

Utilizator mihhTURCU MIHNEA ALEXANDRU mihh Data 28 martie 2022 22:10:03
Problema Zuma 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:29:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 29 | for(int p=i;p<j;++p) | ^~~ main.cpp:32:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 32 | if(mx[p+1][j][0]==0 or mx[i][p][0]==0) { | ^~ main.cpp:32:27: error: 'p' was not declared in this scope 32 | if(mx[p+1][j][0]==0 or mx[i][p][0]==0) { | ^ Non zero exit status: 1

Ceva nu functioneaza?