Borderou de evaluare (job #986433)

Utilizator dutzulBodnariuc Dan Alexandru dutzul Data 18 august 2013 19:13:34
Problema Album Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:15:1: error: expected initializer before ‘int’ int i,j,n; ^ user.cpp: In function ‘bool incl(short int, short int)’: user.cpp:20:13: error: ‘a’ was not declared in this scope if (a[i1][i]<=a[i2][i]) return false; ^ user.cpp: In function ‘bool bfs(short int, short int)’: user.cpp:29:9: error: ‘i’ was not declared in this scope for(i=0; i<=n+n+1; ++i) viz[i]=false; ^ user.cpp:29:17: error: ‘n’ was not declared in this scope for(i=0; i<=n+n+1; ++i) viz[i]=false; ^ user.cpp:34:24: error: ‘n’ was not declared in this scope for(sh j=0; j<=n+n+1; ++j) ^ user.cpp: In function ‘int main()’: user.cpp:58:8: error: ‘n’ was not declared in this scope f>>n>>k; ^ user.cpp:59:9: error: ‘i’ was not declared in this scope for(i=1; i<=n; ++i) { ^ user.cpp:60:13: error: ‘j’ was not declared in this scope for(j=1; j<=k; ++j) ^ user.cpp:61:16: error: ‘a’ was not declared in this scope f>>a[i][j]; ^ user.cpp:62:14: error: ‘a’ was not declared in this scope sort(a[i]+1,a[i]+k+1); ^ user.cpp:65:9: error: ‘i’ was not declared in this scope for(i=1; i<=n; ++i) ^ user.cpp:66:13: error: ‘j’ was not declared in this scope for(j=1; j<=n; ++j) ^ user.cpp:72:9: error: ‘i’ was not declared in this scope for(i=1; i<=n; ++i) cap[0][i]=1; ^ user.cpp:73:9: error: ‘i’ was not declared in this scope for(i=n+1; i<=n+n; ++i) cap[i][n+n+1]=1; ^

Ceva nu functioneaza?