Borderou de evaluare (job #2926566)
Utilizator | Data | 17 octombrie 2022 23:28:18 | |
---|---|---|---|
Problema | Sediu | Status | done |
Runda | Arhiva de probleme | 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 ("sediu.in");
| ^~~~~~~~
main.cpp:7:1: error: 'ofstream' does not name a type
7 | ofstream cout ("sediu.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:36:5: error: 'cin' was not declared in this scope
36 | cin>>n;
| ^~~
main.cpp:4:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
3 | #include <vector>
+++ |+#include <iostream>
4 |
main.cpp:61:5: error: 'cout' was not declared in this scope
61 | cout<<mini<<" "<<res.size()<<"\n";
| ^~~~
main.cpp:61: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 !