Pagini recente » Borderou de evaluare (job #23559) | Borderou de evaluare (job #954556) | Borderou de evaluare (job #24551) | Borderou de evaluare (job #2815825) | Borderou de evaluare (job #1365753)
Borderou de evaluare (job #1365753)
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:76:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (pct.x < surs.x && pct.x < t.x || pct.y < surs.y && pct.y < t.y || pct.x > surs.x && pct.x > t.x || pct.y > surs.y && pct.y > t.y)
^
user.cpp:76:90: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (pct.x < surs.x && pct.x < t.x || pct.y < surs.y && pct.y < t.y || pct.x > surs.x && pct.x > t.x || pct.y > surs.y && pct.y > t.y)
^
user.cpp:76:123: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (pct.x < surs.x && pct.x < t.x || pct.y < surs.y && pct.y < t.y || pct.x > surs.x && pct.x > t.x || pct.y > surs.y && pct.y > t.y)
^
user.cpp: In function ‘int main()’:
user.cpp:131: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:132: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:134:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:136: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:137:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:141: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 | 600kb | OK | 5 |
3 | 0ms | 1032kb | OK | 5 |
4 | 8ms | 2308kb | OK | 5 |
5 | 12ms | 2804kb | OK | 5 |
6 | 28ms | 4044kb | OK | 5 |
7 | 0ms | 1500kb | OK | 5 |
8 | 0ms | 888kb | OK | 5 |
9 | 12ms | 2844kb | OK | 5 |
10 | 48ms | 6016kb | OK | 5 |
11 | 56ms | 6220kb | OK | 5 |
12 | 148ms | 8352kb | OK | 5 |
13 | 60ms | 4152kb | OK | 5 |
14 | 92ms | 7832kb | OK | 5 |
15 | 184ms | 11904kb | OK | 5 |
16 | 196ms | 8748kb | OK | 5 |
17 | 28ms | 4568kb | OK | 5 |
18 | 88ms | 8056kb | OK | 5 |
19 | 88ms | 7140kb | OK | 5 |
20 | Depăşit | 8396kb | Time limit exceeded. | 0 |
Punctaj total | 95 |