Borderou de evaluare (job #2854761)

Utilizator TghicaGhica Tudor Tghica Data 21 februarie 2022 18:59:16
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 dist2P(punct, punct)': main.cpp:24:10: error: 'sqrt' was not declared in this scope 24 | return sqrt((a.x - b.x) * (a.x - b.x) + (a.y - b.y) * (a.y - b.y)); | ^~~~ main.cpp: In function 'double ariaTriunghi(punct, punct, punct)': main.cpp:31:10: error: 'sqrt' was not declared in this scope 31 | return sqrt(p * (p - dist2P(a, b)) * (p - dist2P(a, c)) * (p - dist2P(b, c))); | ^~~~ main.cpp: In function 'int rec(double, double, int, romb, int, punct)': main.cpp:94:1: warning: control reaches end of non-void function [-Wreturn-type] 94 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?