Borderou de evaluare (job #2065141)

Utilizator sicsicFMI-Coteanu Vlad sicsic Data 13 noiembrie 2017 14:55:24
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 ‘double getMinDist(int, int, std::vector<point>)’: user.cpp:53:16: error: ‘INT_MAX’ was not declared in this scope return INT_MAX; ^ user.cpp:59:23: error: ‘INT_MAX’ was not declared in this scope double temp = INT_MAX; ^ user.cpp:70:19: error: ‘INT_MAX’ was not declared in this scope double temp = INT_MAX, temp1, temp2; ^ user.cpp:71:5: error: ‘temp1’ was not declared in this scope temp1 = getMinDist(left, mid, points); ^ user.cpp:72:5: error: ‘temp2’ was not declared in this scope temp2 = getMinDist(mid, right, points); ^ user.cpp:84:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < tempPointList.size(); ++i) ^ user.cpp:85:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = i + 1; j < i + 8 && j < tempPointList.size(); ++j) ^

Ceva nu functioneaza?