Borderou de evaluare (job #1190222)

Utilizator test9cosmin Macovei test9 Data 24 mai 2014 19:13:38
Problema Luna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:1: error: ‘include’ does not name a type include<fstream> ^ user.cpp:3:1: error: ‘ifstream’ does not name a type ifstream in ("luna.in"); ofstream out ("luna.out"); ^ user.cpp:3:26: error: ‘ofstream’ does not name a type ifstream in ("luna.in"); ofstream out ("luna.out"); ^ user.cpp: In function ‘int main()’: user.cpp:8:5: error: ‘in’ was not declared in this scope in >> n >> m; ^ user.cpp:40:34: error: ‘out’ was not declared in this scope if(a > 50 || b > 50) out << "Cererea nu poate fi satisfacuta!\n"; ^ user.cpp:42:52: error: ‘out’ was not declared in this scope if(a <= dp[t][b] || b <= dp[t][a]) out << "Cererea poate fi satisfacuta!\n"; ^ user.cpp:43:22: error: ‘out’ was not declared in this scope else out << "Cererea nu poate fi satisfacuta!\n"; ^ user.cpp:46:14: error: ‘out’ was not declared in this scope else out << "Tara de provenienta nu are parcele pe Luna!\n"; ^ user.cpp:48:5: error: ‘out’ was not declared in this scope out.close(); return 0; ^

Ceva nu functioneaza?