Borderou de evaluare (job #2301471)

Utilizator Mihai_PredaPreda Mihai Dragos Mihai_Preda Data 12 decembrie 2018 23:56:55
Problema Camera Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void CutPol(const Punct&, const Punct&, std::vector<Punct>&)': main.cpp:57:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < pol.size(); ++i) ~~^~~~~~~~~~~~ main.cpp: In function 'double GetArea(const std::vector<Punct>&)': main.cpp:87:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i < pol.size(); ++i) ~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:128:57: error: 'fabs' was not declared in this scope out << fixed << setprecision(2) << fabs(GetArea(pol)) << "\n"; ^ Non zero exit status: 1

Ceva nu functioneaza?