Borderou de evaluare (job #2486759)

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

Raport evaluator

Eroare de compilare: main.cpp:8:37: error: expected initializer before 'n' int d[NMAX][NMAX],verify[NMAX][NMAX]n,m; ^ main.cpp: In function 'void afisare(int (*)[53])': main.cpp:10:20: error: 'n' was not declared in this scope for(int i=1;i<=n;i++){ ^ main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j=1;j<=n;j++) ^~~ main.cpp:13: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 ok()': main.cpp:17:20: error: 'n' was not declared in this scope for(int k=1;k<=n;k++) ^ main.cpp:20:9: error: 'verify' was not declared in this scope verify[i][j]=min(verify[i][k]+verify[k][j],verify[i][j]); ^~~~~~ main.cpp:21:20: error: 'n' was not declared in this scope for(int i=1;i<=n;i++) ^ main.cpp:22:5: error: 'verify' was not declared in this scope verify[i][i]=0; ^~~~~~ main.cpp:23:20: error: 'n' was not declared in this scope for(int i=1;i<=n;i++) ^ main.cpp:25:10: error: 'verify' was not declared in this scope if(verify[i][j]!=d[i][j]) ^~~~~~ main.cpp: In function 'int main()': main.cpp:35:20: error: 'n' was not declared in this scope for(int i=1;i<=n;i++) ^ main.cpp:37:7: error: 'verify' was not declared in this scope verify[i][j]=inf; ^~~~~~ main.cpp:38:12: error: 'verify' was not declared in this scope memset(verify,0,sizeof(verify)); ^~~~~~ main.cpp:40:9: error: 'n' was not declared in this scope in>>n>>m; ^ main.cpp:40:12: error: 'm' was not declared in this scope in>>n>>m; ^ Non zero exit status: 1

Ceva nu functioneaza?