Borderou de evaluare (job #2570475)

Utilizator Alex_BubBuburuzan Alexandru Alex_Bub Data 4 martie 2020 17:02:34
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'double shortestDistSeg_Point(point, point, point)': main.cpp:40:48: error: 'fabs' was not declared in this scope Ans = fabs(P.y - (slope * P.x + ct)); ^ main.cpp:47:42: error: 'fabs' was not declared in this scope Ans = min(Ans, fabs(P.x - A.x)); ^ main.cpp:49:57: error: 'fabs' was not declared in this scope Ans = min(Ans, fabs(P.x - (P.y - ct) / slope)); ^ Non zero exit status: 1

Ceva nu functioneaza?