Borderou de evaluare (job #2520592)

Utilizator hevelebalazshevele balazs hevelebalazs Data 9 ianuarie 2020 15:47:20
Problema Secvzerounu Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:1: error: 'ifstream' does not name a type ifstream fin("secvzerounu.in"); ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type ofstream fout("secvzerounu.out"); ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:10:2: error: 'fin' was not declared in this scope fin >> t; ^~~ main.cpp:11:2: error: 'string' was not declared in this scope string s; ^~~~~~ main.cpp:11:2: note: suggested alternatives: In file included from /usr/include/c++/6/iosfwd:39:0, from /usr/include/c++/6/ios:38, from /usr/include/c++/6/istream:38, from /usr/include/c++/6/fstream:38, from main.cpp:1: /usr/include/c++/6/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string<char> string; ^~~~~~ /usr/include/c++/6/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' main.cpp:12:16: error: 's' was not declared in this scope readline(fin, s); ^ main.cpp:12:17: error: 'readline' was not declared in this scope readline(fin, s); ^ main.cpp:16:10: error: expected ';' before 's' string s; ^ main.cpp:55:4: error: 'fout' was not declared in this scope fout << "Da\n"; ^~~~ main.cpp:59:4: error: 'fout' was not declared in this scope fout << "Nu\n"; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?