Borderou de evaluare (job #2486733)

Utilizator T_george_TGeorge Teodorescu T_george_T Data 3 noiembrie 2019 13:53:50
Problema Rfinv Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void afisare(int (*)[51])': main.cpp:10:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j=1;j<=n;j++) ^~~ main.cpp:12:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' out<<endl; ^~~ main.cpp: In function 'bool ok2()': main.cpp:31:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int k=1;k<=n;k++) ^~~ main.cpp:33:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(d[i][j]==d[i][k]+d[k][j]) ^~ main.cpp:33:22: error: 'k' was not declared in this scope if(d[i][j]==d[i][k]+d[k][j]) ^ Non zero exit status: 1

Ceva nu functioneaza?