Borderou de evaluare (job #1523083)

Utilizator patrutoiuandreipatrutoiu andrei patrutoiuandrei Data 12 noiembrie 2015 13:16:18
Problema Kcity Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void read()’: user.cpp:8:10: error: ‘N’ was not declared in this scope fin>>N>>M>>T>>C; ^ user.cpp:8:13: error: ‘M’ was not declared in this scope fin>>N>>M>>T>>C; ^ user.cpp:8:16: error: ‘T’ was not declared in this scope fin>>N>>M>>T>>C; ^ user.cpp:8:19: error: ‘C’ was not declared in this scope fin>>N>>M>>T>>C; ^ user.cpp:13:9: error: ‘a’ was not declared in this scope a[x][y]=dist; ^ user.cpp:17:14: error: ‘tur’ was not declared in this scope fin>>tur[i]; ^ user.cpp:19:14: error: ‘cab’ was not declared in this scope fin>>cab[i].nr>>cab[i].val; ^ user.cpp: In function ‘void royfloyd()’: user.cpp:24:16: error: ‘N’ was not declared in this scope for(i=1;i<=N;i++) ^ user.cpp:27:17: error: ‘d’ was not declared in this scope d[i][j]=inf; ^ user.cpp:27:25: error: ‘inf’ was not declared in this scope d[i][j]=inf; ^ user.cpp:28:16: error: ‘N’ was not declared in this scope for(k=1;k<=N;k++) ^ user.cpp:31:20: error: ‘a’ was not declared in this scope if(a[i][k] && a[k][j] && (d[i][j] > a[i][k] + a[k][j] || !a[i][j]) && i!=j) ^ user.cpp:31:43: error: ‘d’ was not declared in this scope if(a[i][k] && a[k][j] && (d[i][j] > a[i][k] + a[k][j] || !a[i][j]) && i!=j) ^ user.cpp: In function ‘int BFS()’: user.cpp:37:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int maxflow(int)’: user.cpp:41:16: error: ‘N’ was not declared in this scope for(i=1;i<=N;i++) ^ user.cpp:42:9: error: ‘G’ was not declared in this scope

Ceva nu functioneaza?