Borderou de evaluare (job #2706009)

Utilizator IRadu1529Radu Ionescu IRadu1529 Data 13 februarie 2021 17:15:00
Problema Cerc3 Status done
Runda Arhiva de probleme Compilator cpp-32 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool cmp(cerc, cerc)': main.cpp:37:36: error: 'sqrt' was not declared in this scope return (sqrt(a.y * a.y + a.x * a.x) < sqrt(b.y * b.y + b.x * b.x)); ^ main.cpp: In function 'bool dist(cerc, cerc)': main.cpp:41:64: error: 'sqrt' was not declared in this scope if (sqrt((b.y - a.y) * (b.y - a.y) + (b.x - a.x) * (b.x - a.x)) >= a.raza + b.raza) ^ main.cpp: In function 'void count(int)': main.cpp:51:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < liste[dr].size(); i++) { ~~^~~~~~~~~~~~~~~~~~ main.cpp:56:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = i + 1; j < liste[dr].size(); j++) ~~^~~~~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?