Borderou de evaluare (job #3146647)
Utilizator | Data | 21 august 2023 23:50:08 | |
---|---|---|---|
Problema | Melc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:19: error: 'acos' was not declared in this scope
7 | const double pi = acos(-1), eps = 1e-10;
| ^~~~
main.cpp: In function 'void read_data(std::vector<std::pair<double, int> >&)':
main.cpp:18:34: error: 'atan2' was not declared in this scope
18 | vec.emplace_back(atan2(y - Y, x - X), id);
| ^~~~~
main.cpp: In function 'void calculate_data(std::vector<std::pair<double, int> >&)':
main.cpp:27:57: error: 'eps' was not declared in this scope
27 | if (it->first - (it - 1)->first >= pi - eps)
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !