Borderou de evaluare (job #3176207)

Utilizator darius1843Darius Suditu darius1843 Data 26 noiembrie 2023 20:39:49
Problema Cablaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:28:21: error: 'sqrt' was not declared in this scope 28 | int costt = sqrt((coord[0][0] - coord[i][0])*(coord[0][0] - coord[i][0]) + (coord[0][1] - coord[i][1])* (coord[0][1] - coord[i][1])); | ^~~~ main.cpp:50:37: error: 'sqrt' was not declared in this scope 50 | int costt = sqrt((coord[catre][0] - coord[i][0]) * (coord[catre][0] - coord[i][0]) + (coord[catre][1] - coord[i][1]) * (coord[catre][1] - coord[i][1])); | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?