Borderou de evaluare (job #2674931)

Utilizator DesertChuStefan Andrei DesertChu Data 20 noiembrie 2020 19:38:02
Problema Potrivire Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: 'include' does not name a type include <fstream> ^~~~~~~ main.cpp:4:1: error: 'ifstream' does not name a type ifstream f("potrivire.in"); ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type ofstream g("potrivire.out"); ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:32:5: error: 'f' was not declared in this scope f>>n>>m; ^ main.cpp:62:13: error: 'g' was not declared in this scope if(!ok) g<<-1; ^ main.cpp:63:10: error: 'g' was not declared in this scope else g<<st<<" "<<fn; ^ Non zero exit status: 1

Ceva nu functioneaza?