Borderou de evaluare (job #1798761)

Utilizator elffikkVasile Ermicioi elffikk Data 5 noiembrie 2016 13:38:00
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘bool cmpPoints(Point, Point)’: user.cpp:24:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] return a.x<b.x || a.x==b.x && a.y < b.y; ^ user.cpp: At global scope: user.cpp:35:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main() { ^ user.cpp: In function ‘int main()’: user.cpp:52:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < a.size(); i++) { ^ user.cpp:54:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i!=(i+j)%a.size() && dist(a[i], a[(i+j)%a.size()]) < d) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms480kbIncorect0
20ms476kbOk10
312ms548kbIncorect0
412ms548kbIncorect0
544ms520kbIncorect0
672ms784kbIncorect0
7108ms784kbIncorect0
8152ms1048kbIncorect0
9152ms1048kbIncorect0
10152ms1048kbIncorect0
Punctaj total10

Ceva nu functioneaza?