Borderou de evaluare (job #2850033)
Utilizator | Data | 16 februarie 2022 10:13:05 | |
---|---|---|---|
Problema | Romb | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'double calcLen(int, int, int, int)':
main.cpp:26:10: error: 'sqrt' was not declared in this scope
26 | return sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
| ^~~~
main.cpp: In function 'double calcArea(double, double, double, double, double, double)':
main.cpp:37:10: error: 'sqrt' was not declared in this scope
37 | return sqrt(p * (p - d1) * (p - d2) * (p - d3));
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !