Borderou de evaluare (job #2438175)

Utilizator Alex_BubBuburuzan Alexandru Alex_Bub Data 11 iulie 2019 15:44:28
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void CalcOriz(str, int, int, int, int)': main.cpp:45:33: error: 'fabs' was not declared in this scope cost = min(fabs(x - A.x1), fabs(x - A.x2)); ^ main.cpp:49:46: error: 'fabs' was not declared in this scope cost = fabs(h * (y - A.y1) + A.x1 - x); ^ main.cpp: In function 'void CalcVert(str, int, int, int, int)': main.cpp:63:33: error: 'fabs' was not declared in this scope cost = min(fabs(y - A.y2), fabs(y - A.y1)); ^ main.cpp:67:46: error: 'fabs' was not declared in this scope cost = fabs(h * (x - A.x1) + A.x1 - y); ^ Non zero exit status: 1

Ceva nu functioneaza?