Pagini recente » Borderou de evaluare (job #1352353) | Borderou de evaluare (job #1060462) | Borderou de evaluare (job #1551424) | Borderou de evaluare (job #2541374) | Borderou de evaluare (job #1803520)
Borderou de evaluare (job #1803520)
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:20:27: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
poz+=(poz^(poz&poz-1));
^
user.cpp: In function ‘int query(int)’:
user.cpp:30:27: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
poz-=(poz^(poz&poz-1));
^
user.cpp: In function ‘int main()’:
user.cpp:36: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:37: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:38:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:41: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 | 260kb | Incorect | 0 |
| 2 | 0ms | 256kb | Incorect | 0 |
| 3 | 0ms | 260kb | Incorect | 0 |
| 4 | 4ms | 256kb | Incorect | 0 |
| 5 | 12ms | 268kb | Incorect | 0 |
| 6 | 20ms | 288kb | Incorect | 0 |
| 7 | 28ms | 284kb | Incorect | 0 |
| 8 | Depăşit | 916kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1012kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1064kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 1156kb | Time limit exceeded. | 0 |
| 12 | 272ms | 1280kb | Incorect | 0 |
| 13 | 228ms | 1360kb | Incorect | 0 |
| 14 | 268ms | 1436kb | Incorect | 0 |
| 15 | 232ms | 1516kb | Incorect | 0 |
| 16 | 152ms | 1592kb | Incorect | 0 |
| 17 | 100ms | 1668kb | Incorect | 0 |
| 18 | 96ms | 1744kb | Incorect | 0 |
| 19 | 96ms | 1828kb | OK | 5 |
| 20 | 4ms | 264kb | Incorect | 0 |
| Punctaj total | 5 |