Borderou de evaluare (job #3348671)

Utilizator Cristian2007Tanase Cristian-Gabriel Cristian2007 Data 23 martie 2026 13:29:51
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:11:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 11 | for(j=1;j<=n;j++) | ^~~ main.cpp:14:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 14 | for(i=1;i<=n;i++) | ^~~ main.cpp:17:17: error: 'INF' was not declared in this scope 17 | minim[i][j]=INF; | ^~~ main.cpp:15:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 15 | for(j=1;j<=n;j++) | ^~~ main.cpp:19:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 19 | for(k=1;k<=n;k++) | ^~~ main.cpp:21:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 21 | for(j=1;j<=n;j++) | ^~~ main.cpp:24:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 24 | for(i=1;i<=n;i++) | ^~~ Non zero exit status: 1

Ceva nu functioneaza?