Borderou de evaluare (job #1033047)

Utilizator jerome_morganJerome Whoyt jerome_morgan Data 16 noiembrie 2013 13:24:35
Problema Generare de permutari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:1: error: ‘ifstream’ does not name a type ifstream fin("permutari.in"); ^ user.cpp:4:1: error: ‘ofstream’ does not name a type ofstream fout("permutari.out"); ^ user.cpp: In function ‘void afisare(int)’: user.cpp:11:2: error: ‘fout’ was not declared in this scope fout<<x[i]<<" "; ^ user.cpp:12:2: error: ‘fout’ was not declared in this scope fout<<endl; ^ user.cpp: In function ‘int back(int)’: user.cpp:34:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(valid(k)) ^ user.cpp:40:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:43:2: error: ‘fin’ was not declared in this scope fin>>n; ^

Ceva nu functioneaza?