Borderou de evaluare (job #2392200)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 29 martie 2019 19:27:21
Problema Aria Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:35:5: error: 'ifstream' was not declared in this scope ifstream f("aria.in"); ^~~~~~~~ main.cpp:35:5: note: suggested alternative: In file included from /usr/include/c++/6/ios:38:0, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from main.cpp:1: /usr/include/c++/6/iosfwd:162:34: note: 'std::ifstream' typedef basic_ifstream<char> ifstream; ^~~~~~~~ main.cpp:36:5: error: 'ofstream' was not declared in this scope ofstream g("aria.out"); ^~~~~~~~ main.cpp:36:5: note: suggested alternative: In file included from /usr/include/c++/6/ios:38:0, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from main.cpp:1: /usr/include/c++/6/iosfwd:165:34: note: 'std::ofstream' typedef basic_ofstream<char> ofstream; ^~~~~~~~ main.cpp:37:7: error: request for member 'read' in 'f', which is of non-class type 'int [7]' f.read(q,M),n=B(),x=C(),y=C(),a=c=x,b=d=y; ^~~~ main.cpp:41:5: error: 'g' was not declared in this scope g<<setprecision(6)<<fixed<<s; ^ main.cpp:41:22: error: 'setprecision' was not declared in this scope g<<setprecision(6)<<fixed<<s; ^ main.cpp:41:22: note: suggested alternative: In file included from main.cpp:3:0: /usr/include/c++/6/iomanip:195:3: note: 'std::setprecision' setprecision(int __n) ^~~~~~~~~~~~ main.cpp:41:25: error: 'fixed' was not declared in this scope g<<setprecision(6)<<fixed<<s; ^~~~~ main.cpp:41:25: note: suggested alternative: In file included from /usr/include/c++/6/ios:42:0, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from main.cpp:1: /usr/include/c++/6/bits/ios_base.h:1041:3: note: 'std::fixed' fixed(ios_base& __base) ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?