Borderou de evaluare (job #3205038)

Utilizator suimerchantsui merchant suimerchant Data 18 februarie 2024 17:56:26
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'double getOX(punct, punct, punct)': main.cpp:67:12: error: 'fabs' was not declared in this scope; did you mean 'labs'? 67 | return fabs(xp-a.x); | ^~~~ | labs main.cpp: In function 'double getOY(punct, punct, punct)': main.cpp:80:12: error: 'fabs' was not declared in this scope; did you mean 'labs'? 80 | return fabs(yp-a.y); | ^~~~ | labs main.cpp: In function 'void pdm()': main.cpp:151:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 151 | for(int i=0;i<g.size();i++) | ~^~~~~~~~~ main.cpp: In function 'void dfs(int)': main.cpp:170:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 170 | for(int i=0;i<l[nod].size();i++) | ~^~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?