Borderou de evaluare (job #3339028)

Utilizator TomMMMMatei Toma TomMMM Data 5 februarie 2026 20:21:01
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'ld point::operator-(point) const': main.cpp:20:16: error: 'sqrt' was not declared in this scope 20 | return sqrt((A.x - x) * (A.x - x) + (A.y - y) * (A.y - y)); | ^~~~ main.cpp: In function 'ld add_point(int, point)': main.cpp:67:5: error: 'sort' was not declared in this scope; did you mean 'short'? 67 | sort(edges_taken.begin(), edges_taken.end(), by_length); | ^~~~ | short Non zero exit status: 1

Ceva nu functioneaza?