Borderou de evaluare (job #2969148)

Utilizator teochess2017Togan Teodor-Bogdan teochess2017 Data 22 ianuarie 2023 17:03:18
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void addpoint(coord, double&)': main.cpp:34:16: error: 'sqrt' was not declared in this scope 34 | actd = sqrt(((*lb).y - pct.y) * ((*lb).y - pct.y) + ((*lb).x - pct.x) * ((*lb).x - pct.x)); | ^~~~ main.cpp: In function 'int main()': main.cpp:56:12: error: 'sqrt' was not declared in this scope 56 | dmin = sqrt((v[0].x - v[1].x) * (v[0].x - v[1].x) + (v[0].y - v[1].y) * (v[0].y - v[1].y)); | ^~~~ main.cpp:58:9: error: 'deletepoints' was not declared in this scope 58 | deletepoints(); | ^~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?