Borderou de evaluare (job #3260127)

Utilizator XIIs12sPeteleu Denis Andrei XIIs12s Data 30 noiembrie 2024 10:51:01
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:29:53: error: expected primary-expression before ';' token 29 | a[i][j]=a[i][k]+a[k][j],b[i][j]=; | ^ main.cpp:22:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 22 | for(int k=1;k<=n;k++) | ^~~ main.cpp:32:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 32 | for(int i=1;i<=n;i++) | ^~~ Non zero exit status: 1

Ceva nu functioneaza?