Borderou de evaluare (job #2479748)

Utilizator invoIlioi Alexandru invo Data 24 octombrie 2019 14:25:38
Problema Loto Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:1: error: 'ifstream' does not name a type ifstream f("loto.in"); ^~~~~~~~ main.cpp:6:1: error: 'ofstream' does not name a type ofstream g("loto.out"); ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:21:2: error: 'f' was not declared in this scope f >> n >> s; ^ main.cpp:44:4: error: 'g' was not declared in this scope g << -1 << endl; ^ main.cpp:51:3: error: 'g' was not declared in this scope g << -1 << endl; ^ main.cpp:57:4: error: 'g' was not declared in this scope g << sol[i] << ' '; ^ main.cpp:59:3: error: 'g' was not declared in this scope g << endl; ^ Non zero exit status: 1

Ceva nu functioneaza?