Borderou de evaluare (job #1486775)

Utilizator buga.sebiBuga Eusebiu Mihail buga.sebi Data 15 septembrie 2015 16:42:31
Problema Generare de permutari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:2: error: ‘ifstream’ does not name a type ifstream f("permutari.in"); ^ user.cpp:4:2: error: ‘ofstream’ does not name a type ofstream g("permutari.out"); ^ user.cpp: In function ‘void afisare(int)’: user.cpp:17:3: error: ‘g’ was not declared in this scope g<<st[i]<<" "; ^ user.cpp:18:3: error: ‘g’ was not declared in this scope g<<"\n"; ^ user.cpp: In function ‘void back(int)’: user.cpp:25:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(adev(k)) ^ user.cpp: In function ‘int main()’: user.cpp:34:2: error: ‘f’ was not declared in this scope f>>n; ^ user.cpp:37:2: error: ‘g’ was not declared in this scope g.close(); ^

Ceva nu functioneaza?