Borderou de evaluare (job #1802090)

Utilizator andreilucaLuca Andrei andreiluca Data 9 noiembrie 2016 20:59:02
Problema Infasuratoare convexa Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < hull.size(); i++) { ^ user.cpp: In function ‘std::vector<punct> convexHull(std::vector<punct>)’: user.cpp:39:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; i < points.size(); i++) { ^ user.cpp:47:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < points.size(); i++) { ^ user.cpp:48:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < points.size(); j++) { ^ user.cpp:51:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k = 0; k < points.size(); k++) { ^ user.cpp:53:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (points[i].x == points[j].x && points[i].x == points[k].x || points[i].y == points[j].y && points[i].y == points[k].y) { ^ user.cpp:71:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (k == points.size()) { ^ user.cpp:73:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (count = 0; count < hull.size(); count++) { ^ user.cpp:78:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (count == hull.size()) { ^ user.cpp: In function ‘int main()’: user.cpp:20:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:23:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf", &q.x, &q.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbNumar de puncte incorect0
20ms316kbNumar de puncte incorect0
3Depăşit904kbTime limit exceeded.0
4Depăşit904kbTime limit exceeded.0
5Depăşit908kbTime limit exceeded.0
6Depăşit3712kbTime limit exceeded.0
7Depăşit3708kbTime limit exceeded.0
8Depăşit3708kbTime limit exceeded.0
9Depăşit3712kbTime limit exceeded.0
10Depăşit3708kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?