Borderou de evaluare (job #2629024)
Utilizator | Data | 18 iunie 2020 17:03:25 | |
---|---|---|---|
Problema | Heapuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:11: error: variable 'std::ifstream f' has initializer but incomplete type
ifstream f("heapuri.in");
^
main.cpp:5:11: error: variable 'std::ofstream g' has initializer but incomplete type
ofstream g("heapuri.out");
^
main.cpp:8:1: error: 'set' does not name a type
set<int> s;
^~~
main.cpp: In function 'int main()':
main.cpp:19:13: error: 's' was not declared in this scope
s.insert(x);
^
main.cpp:27:15: error: 's' was not declared in this scope
s.erase(x);
^
main.cpp:31:21: error: 's' was not declared in this scope
g<<*s.begin()<<'\n';
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !