Borderou de evaluare (job #1124150)

Utilizator RigonsRadu Molnar Rigons Data 26 februarie 2014 11:35:02
Problema Flori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘ofstream’ ofstream fout("flori.out") ^ user.cpp: In function ‘int main()’: user.cpp:9:10: error: ‘n’ was not declared in this scope fin>>n>>k; ^ user.cpp:9:13: error: ‘k’ was not declared in this scope fin>>n>>k; ^ user.cpp:10:9: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++) ^ user.cpp:11:10: error: ‘j’ was not declared in this scope for(j=1;j<=k;j++) ^ user.cpp:12:14: error: ‘v’ was not declared in this scope fin>>v[i][j]; ^ user.cpp:13:5: error: ‘x’ was not declared in this scope for(x=1;x<=n-1;x++) ^ user.cpp:15:9: error: ‘i’ was not declared in this scope for(i=1+x;i<=k) ^ user.cpp:15:19: error: expected ‘;’ before ‘)’ token for(i=1+x;i<=k) ^ user.cpp:16:10: error: ‘sw’ was not declared in this scope {sw=1; ^ user.cpp:17:13: error: ‘y’ was not declared in this scope for(y=1;y<=k&&sw;y++) ^ user.cpp:18:17: error: ‘j’ was not declared in this scope for(j=1;j<=k&&sw;j++) ^ user.cpp:19:13: error: ‘v’ was not declared in this scope {if(v[x][y]==v[i][j]) ^ user.cpp:21:13: error: ‘fout’ was not declared in this scope fout<<i; ^ user.cpp:23:9: error: ‘fout’ was not declared in this scope fout<<"\n";} ^

Ceva nu functioneaza?