Borderou de evaluare (job #2969154)
Utilizator | Data | 22 ianuarie 2023 17:09:39 | |
---|---|---|---|
Problema | Cele mai apropiate puncte din plan | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void addpoint(coord, double&)':
main.cpp:44:16: error: 'sqrt' was not declared in this scope
44 | actd = sqrt(((*lb).y - pct.y) * ((*lb).y - pct.y) + ((*lb).x - pct.x) * ((*lb).x - pct.x));
| ^~~~
main.cpp: In function 'int main()':
main.cpp:66:12: error: 'sqrt' was not declared in this scope
66 | dmin = sqrt((v[0].x - v[1].x) * (v[0].x - v[1].x) + (v[0].y - v[1].y) * (v[0].y - v[1].y));
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !