Borderou de evaluare (job #2371601)

Utilizator davidbejenariu2David Bejenariu davidbejenariu2 Data 6 martie 2019 18:32:26
Problema Mosia Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool comp(punct, punct)': main.cpp:35:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return X.y < Y.y || X.y == Y.y && X.x < Y.x; ~~~~~~~~~~~^~~~~~~~~~~~ main.cpp: In function 'double dist(punct, punct)': main.cpp:45:80: error: 'sqrt' was not declared in this scope return sqrt( ( X.y - Y.y ) * ( X.y - Y.y ) + ( X.x - Y.x ) * ( X.x - Y.x ) ); ^ Non zero exit status: 1

Ceva nu functioneaza?