Borderou de evaluare (job #1604402)

Utilizator c0rn1Goran Cornel c0rn1 Data 18 februarie 2016 11:21:41
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘bool cmpXY(Point, Point)’: user.cpp:39:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] return A.x < B.x || A.x == B.x && A.y < B.y; ^ user.cpp: In function ‘bool cmpYX(Point, Point)’: user.cpp:43:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] return A.y < B.y || A.y == B.y && A.x < B.x; ^ user.cpp: In function ‘double dei(int, int)’: user.cpp:67:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < closeP.size(); ++i) ^ user.cpp:68:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 1; j <= 7 && i+j < closeP.size(); ++j) ^ user.cpp: In function ‘void readData()’: user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:25:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &x, &y); ^ user.cpp: In function ‘int main()’: user.cpp:76:34: 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:77:36: 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
196ms488kbIncorect0
288ms488kbIncorect0
3Depăşit616kbTime limit exceeded.0
4Depăşit612kbTime limit exceeded.0
5Depăşit768kbTime limit exceeded.0
6Depăşit928kbTime limit exceeded.0
7Depăşit1304kbTime limit exceeded.0
8Depăşit1316kbTime limit exceeded.0
9Depăşit1320kbTime limit exceeded.0
10Depăşit1320kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?