Borderou de evaluare (job #2077435)

Utilizator serfidenSilav Cristian Alexandru serfiden Data 28 noiembrie 2017 08:07:50
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int mergeDistances(std::vector<point>&, int, int, int&)’: user.cpp:75:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < potentialPoints.size() - 1; i ++) ^ user.cpp:76:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = i + 1; j < potentialPoints.size() && j < 8 - i; j ++) { ^ user.cpp:82:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:126:30: error: ‘setprecision’ was not declared in this scope o << fixed << setprecision(6) << sqrt(minimalDistance(pointsArray, 0, pointsArray.size() - 1)); ^

Ceva nu functioneaza?