Borderou de evaluare (job #606617)

Utilizator avatar MihneaRotaru07 Rotaru Mihnea MihneaRotaru07 IP ascuns
Problemă Cursa Formula 1 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 sept. 2021 13:16:02 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:1: error: 'ifstream' does not name a type 2 | ifstream in ("cursaf1.in") | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:8:44: error: redeclaration of 'int x' 8 | int n,x,y,a1,b1,c1,mint=2100000000,sum,x=0,mintx=1000000; | ^ main.cpp:8:11: note: 'int x' previously declared here 8 | int n,x,y,a1,b1,c1,mint=2100000000,sum,x=0,mintx=1000000; | ^ main.cpp:9:5: error: 'cin' was not declared in this scope 9 | cin>>n>>x>>y; | ^~~ main.cpp:24:5: error: 'cout' was not declared in this scope 24 | cout<<mintx<<" "<<mint; | ^~~~