Borderou de evaluare (job #2557804)
Utilizator | Data | 25 februarie 2020 23:56:00 | |
---|---|---|---|
Problema | Mosia | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool comp(Point, Point)':
main.cpp:22:38: error: 'atan2' was not declared in this scope
return atan2(a.x - c.x, a.y - c.y) < atan2(b.x - c.x, b.y - c.y);
^
main.cpp: In function 'double dist(Point, Point)':
main.cpp:27:70: error: 'sqrt' was not declared in this scope
return sqrt((a.x - b.x) * (a.x - b.x) + (a.y - b.y) * (a.y - b.y));
^
main.cpp: In function 'int main()':
main.cpp:42:26: error: 'sort' was not declared in this scope
sort(v+1, v+n+1, comp);
^
main.cpp:58:33: error: 'setprecision' was not declared in this scope
g << fixed << setprecision(4) << max(dp[n], dp2[n]));
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !