Pagini recente » Borderou de evaluare (job #2797470) | Borderou de evaluare (job #866995) | Borderou de evaluare (job #1702704) | Borderou de evaluare (job #2387533) | Borderou de evaluare (job #1803445)
Borderou de evaluare (job #1803445)
Raport evaluator
Compilare:
user.cpp: In function ‘bool sorting(eu, eu)’:
user.cpp:10:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a.x<b.x||a.x==b.x&&a.y<b.y)
^
user.cpp: In function ‘void update(int, int)’:
user.cpp:22:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
poz+=(poz^(poz&poz-1));
^
user.cpp: In function ‘int main()’:
user.cpp:30:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plicuri.in","r",stdin);
^
user.cpp:31:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plicuri.out","w",stdout);
^
user.cpp:32:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:35:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&vc[i].x,&vc[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 280kb | Incorect | 0 |
6 | 0ms | 296kb | Incorect | 0 |
7 | 0ms | 304kb | Incorect | 0 |
8 | 36ms | 968kb | Incorect | 0 |
9 | 40ms | 1044kb | Incorect | 0 |
10 | 48ms | 1124kb | Incorect | 0 |
11 | 48ms | 1208kb | Incorect | 0 |
12 | 56ms | 1284kb | Incorect | 0 |
13 | 56ms | 1360kb | Incorect | 0 |
14 | 64ms | 1432kb | Incorect | 0 |
15 | 68ms | 1512kb | Incorect | 0 |
16 | 72ms | 1592kb | Incorect | 0 |
17 | 76ms | 1668kb | Incorect | 0 |
18 | 80ms | 1744kb | Incorect | 0 |
19 | 84ms | 1816kb | Incorect | 0 |
20 | 0ms | 268kb | Incorect | 0 |
Punctaj total | 0 |