Pagini recente » Nr | Borderou de evaluare (job #2268514) | Cod sursa (job #500074) | Borderou de evaluare (job #567050) | Borderou de evaluare (job #1604402)
Borderou de evaluare (job #1604402)
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 |
| 1 | 96ms | 488kb | Incorect | 0 |
| 2 | 88ms | 488kb | Incorect | 0 |
| 3 | Depăşit | 616kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 612kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 768kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 928kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1304kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1316kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1320kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1320kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |