Borderou de evaluare (job #2705357)

Utilizator david2003David Ghergut david2003 Data 12 februarie 2021 14:18:05
Problema Bile 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:22:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i = 1; i <= n * n; i++) ^~~ main.cpp:24:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' sef[i] = i; ^~~ main.cpp:24:13: error: 'i' was not declared in this scope sef[i] = i; ^ main.cpp:30:13: error: 'maxi' was not declared in this scope if (maxi == 0) ^~~~ main.cpp:33:13: error: 'lin' was not declared in this scope lin = v[i].lin + dirL[j]; ^~~ main.cpp:34:13: error: 'col' was not declared in this scope col = v[i].col + dirC[j]; ^~~ main.cpp:41:35: error: 'maxi' was not declared in this scope if (q[sef1] > maxi) ^~~~ main.cpp:46:18: error: 'maxi' was not declared in this scope sol[i] = maxi; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?