Borderou de evaluare (job #1526702)

Utilizator paulhermanPaul Herman paulherman Data 17 noiembrie 2015 02:17:22
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘std::pair<PT, PT> closest_points(std::vector<PT>&, std::vector<PT>&, int, int)’: user.cpp:64:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i + 1 < v.size(); i++) { ^ user.cpp:65:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = i + 1; j < v.size() & j - i < 8; j++) { ^ user.cpp:65:31: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] for (int j = i + 1; j < v.size() & j - i < 8; j++) { ^ user.cpp: In function ‘int main()’: user.cpp:78:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmap.in", "r", stdin); ^ user.cpp:79:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmap.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms564kbOk10
24ms564kbOk10
368ms884kbOk10
468ms884kbOk10
5228ms1644kbOk10
6Depăşit2660kbTime limit exceeded.0
7Depăşit3284kbTime limit exceeded.0
8Depăşit3696kbTime limit exceeded.0
9Depăşit1804kbTime limit exceeded.0
10Depăşit3696kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?