Borderou de evaluare (job #2744456)
Utilizator | Data | 24 aprilie 2021 18:39:40 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:18: error: variable 'std::ifstream fin' has initializer but incomplete type
std::ifstream fin("infasuratoare.in");
^
main.cpp:13:19: error: variable 'std::ofstream fout' has initializer but incomplete type
std::ofstream fout("infasuratoare.out");
^
main.cpp:16:6: error: 'vector' in namespace 'std' does not name a template type
std::vector<int>hull;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:29:2: error: 'hull' was not declared in this scope
hull.push_back(1), hull.push_back(2), viz[2] = true;
^~~~
main.cpp:37:12: error: unable to deduce 'auto&&' from 'hull'
for(int i:hull) fout<<std::fixed<<" "<<std::setprecision(12)<<v[i].y<<" "<<v[i].x<<"\n";
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !