Pagini recente » Borderou de evaluare (job #1139972) | Borderou de evaluare (job #793803) | Borderou de evaluare (job #1383170) | Borderou de evaluare (job #2714725) | Borderou de evaluare (job #1365714)
Borderou de evaluare (job #1365714)
Raport evaluator
Compilare:
user.cpp: In function ‘void trave(coord, coord, int)’:
user.cpp:55:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (h.x < g.x || h.x == g.x && h.y < g.y)
^
user.cpp: In function ‘int coli(coord, coord)’:
user.cpp:97:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (!(x2 <= x1 && x2 >= x3 || x2 >= x1 && x2 <= x3))
^
user.cpp:99:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (!(y2 <= y1 && y2 >= y3 || y2 >= y1 && y2 <= y3))
^
user.cpp: In function ‘int main()’:
user.cpp:150:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.in", "r", stdin);
^
user.cpp:151:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.out", "w", stdout);
^
user.cpp:153:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:155:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
&s2.x, &s2.y, &r1.x, &r1.y, &r2.x, &r2.y);
^
user.cpp:156:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:160:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &t1, &t2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 548kb | OK | 5 |
2 | 0ms | 604kb | OK | 5 |
3 | 0ms | 1036kb | OK | 5 |
4 | 8ms | 2304kb | OK | 5 |
5 | 12ms | 2808kb | OK | 5 |
6 | 28ms | 4048kb | OK | 5 |
7 | 0ms | 1504kb | OK | 5 |
8 | 0ms | 892kb | OK | 5 |
9 | 12ms | 2848kb | OK | 5 |
10 | 48ms | 6020kb | OK | 5 |
11 | 56ms | 6220kb | OK | 5 |
12 | 148ms | 8356kb | OK | 5 |
13 | 52ms | 4156kb | OK | 5 |
14 | 92ms | 7844kb | OK | 5 |
15 | 196ms | 11916kb | OK | 5 |
16 | 192ms | 8752kb | OK | 5 |
17 | 28ms | 4580kb | OK | 5 |
18 | 88ms | 8056kb | OK | 5 |
19 | 88ms | 7140kb | OK | 5 |
20 | Depăşit | 7604kb | Time limit exceeded. | 0 |
Punctaj total | 95 |