Pagini recente » Borderou de evaluare (job #548376) | Borderou de evaluare (job #801141) | Borderou de evaluare (job #572865) | Borderou de evaluare (job #3182156) | Borderou de evaluare (job #2226396)
Borderou de evaluare (job #2226396)
Raport evaluator
Compilare:
user.cpp: In function ‘void check(int, coord, int (*)[1005])’:
user.cpp:41:18: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
&& ((( (s1.x <= t.x == (r.x >= s1.x && r.x <= t.x )) && (s1.y <= t.y) == (r.y >= s1.y && r.y <= t.y)))
~~~~~^~~~~~
user.cpp:44:18: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
&& ((( (s2.x <= t.x == r.x >= s2.x && r.x <= t.x ) && (s2.y <= t.y) == ( r.y >= s2.y && r.y <= t.y)))
~~~~~^~~~~~
user.cpp:43:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
(robotID == 2 && (fnc(r, t) == source2) || (r.x == s2.x && r.y == s2.y )
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp:53:22: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
&& ((( (s2.x <= t.x == (r.x >= s2.x && r.x <= t.x)) && (s2.y <= t.y) == ( r.y >= s2.y && r.y <= t.y))
~~~~~^~~~~~
user.cpp:57:22: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
&& ((( (s1.x <= t.x == (r.x >= s1.x && r.x <= t.x )) && (s1.y <= t.y) == (r.y >= s1.y && r.y <= t.y)))
~~~~~^~~~~~
user.cpp:53:9: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(robotID == 1 && (fnc(r, t) == source2 || (r.x == s2.x && r.y == s2.y ))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&& ((( (s2.x <= t.x == (r.x >= s2.x && r.x <= t.x)) && (s2.y <= t.y) == ( r.y >= s2.y && r.y <= t.y))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
))
~~
user.cpp: In function ‘int main()’:
user.cpp:105:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fs(f, "%d", &n); //n++;
^
user.cpp:107:72: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
&t.x, &t.y, &s1.x, &s1.y, &s2.x, &s2.y, &r1.x, &r1.y, &r2.x, &r2.y);
^
user.cpp:110:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fs(f, "%d", &m);
^
user.cpp:113:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fs(f, "%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 7504kb | OK | 5 |
2 | 4ms | 7548kb | Primul numar corect | 1 |
3 | 4ms | 9624kb | OK | 5 |
4 | 12ms | 9620kb | OK | 5 |
5 | 12ms | 9624kb | OK | 5 |
6 | 32ms | 11672kb | Primul numar corect | 1 |
7 | 4ms | 9624kb | Primul numar corect | 1 |
8 | 4ms | 9624kb | Primul numar corect | 1 |
9 | 16ms | 9624kb | OK | 5 |
10 | 52ms | 13724kb | Primul numar corect | 1 |
11 | 60ms | 13724kb | Primul numar corect | 1 |
12 | 144ms | 13728kb | Primul numar corect | 1 |
13 | 160ms | 13728kb | Primul numar corect | 1 |
14 | 196ms | 13888kb | Primul numar corect | 1 |
15 | 192ms | 14316kb | Primul numar corect | 1 |
16 | 192ms | 12280kb | Primul numar corect | 1 |
17 | 132ms | 13724kb | Primul numar corect | 1 |
18 | 232ms | 14328kb | Primul numar corect | 1 |
19 | 128ms | 13720kb | Primul numar corect | 1 |
20 | 208ms | 14220kb | Primul numar corect | 1 |
Punctaj total | 40 |