Borderou de evaluare (job #2757904)

Utilizator jumanjiCampean Adrian jumanji Data 7 iunie 2021 13:11:34
Problema Rollercoaster 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 <bits/stdc++.h> ^~~~~~~ main.cpp:6:1: error: 'ifstream' does not name a type ifstream fin("rollercoaster.in"); ^~~~~~~~ main.cpp:7:1: error: 'ofstream' does not name a type ofstream fout("rollercoaster.out"); ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:22:3: error: 'fin' was not declared in this scope fin >> n; ^~~ main.cpp:93:3: error: 'fout' was not declared in this scope fout << best_sum << ' ' << best_cnt << '\n'; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?