Borderou de evaluare (job #3184231)

Utilizator bxgdanelLuca Bogdan bxgdanel Data 15 decembrie 2023 09:17:17
Problema Distante Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:1: error: 'ifstream' does not name a type 3 | ifstream cin("distante.in"); | ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type 4 | ofstream cout("distante.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:70:5: error: 'cin' was not declared in this scope 70 | cin>>T; | ^~~ main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <fstream> +++ |+#include <iostream> 2 | main.cpp:88:13: error: 'cout' was not declared in this scope 88 | cout<<"DA"<<endl; | ^~~~ main.cpp:88:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:90:13: error: 'cout' was not declared in this scope 90 | cout<<"NU"<<endl; | ^~~~ main.cpp:90:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? Non zero exit status: 1

Ceva nu functioneaza?