Borderou de evaluare (job #3139123)
Utilizator | Data | 25 iunie 2023 15:28:16 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:1: error: 'ifstream' does not name a type
6 | ifstream cin("infasuratoare.in");
| ^~~~~~~~
main.cpp:7:1: error: 'ofstream' does not name a type
7 | ofstream cout("infasuratoare.out");
| ^~~~~~~~
main.cpp: In member function 'void Point::Read()':
main.cpp:23:9: error: 'cin' was not declared in this scope
23 | cin >> x >> y;
| ^~~
main.cpp:5:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
4 | #include <algorithm>
+++ |+#include <iostream>
5 |
main.cpp: In function 'int main()':
main.cpp:50:5: error: 'cin' was not declared in this scope
50 | cin >> n;
| ^~~
main.cpp:50:5: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:70:5: error: 'cout' was not declared in this scope
70 | cout << ind << '\n';
| ^~~~
main.cpp:70:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !