Borderou de evaluare (job #1354550)

Utilizator muresanelizaMuresan Eliza muresaneliza Data 21 februarie 2015 21:16:07
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:2:1: error: stray ‘\342’ in program ‪#‎include‬ <fstream> ^ user.cpp:2:1: error: stray ‘\200’ in program user.cpp:2:1: error: stray ‘\252’ in program user.cpp:2:4: error: stray ‘#’ in program ‪#‎include‬ <fstream> ^ user.cpp:2:1: error: stray ‘\342’ in program ‪#‎include‬ <fstream> ^ user.cpp:2:1: error: stray ‘\200’ in program user.cpp:2:1: error: stray ‘\216’ in program user.cpp:2:1: error: stray ‘\342’ in program user.cpp:2:1: error: stray ‘\200’ in program user.cpp:2:1: error: stray ‘\254’ in program user.cpp:2:8: error: ‘include’ does not name a type ‪#‎include‬ <fstream> ^ user.cpp: In function ‘int main()’: user.cpp:7:1: error: ‘ifstream’ was not declared in this scope ifstream f("lgput.in"); ^ user.cpp:7:1: note: suggested alternative: In file included from /usr/include/c++/4.8/ios:38:0, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from user.cpp:1: /usr/include/c++/4.8/iosfwd:157:34: note: ‘std::ifstream’ typedef basic_ifstream<char> ifstream; ^ user.cpp:7:10: error: expected ‘;’ before ‘f’ ifstream f("lgput.in"); ^ user.cpp:8:1: error: ‘f’ was not declared in this scope f>>baza>>putere; ^ user.cpp:16:1: error: ‘ofstream’ was not declared in this scope ofstream g("lgput.out"); ^ user.cpp:16:1: note: suggested alternative: In file included from /usr/include/c++/4.8/ios:38:0, from /usr/include/c++/4.8/ostream:38, from /usr/include/c++/4.8/iostream:39, from user.cpp:1: /usr/include/c++/4.8/iosfwd:160:34: note: ‘std::ofstream’ typedef basic_ofstream<char> ofstream; ^ user.cpp:16:10: error: expected ‘;’ before ‘g’ ofstream g("lgput.out");

Ceva nu functioneaza?