Pagini recente » Borderou de evaluare (job #965967) | Borderou de evaluare (job #853825) | Borderou de evaluare (job #1342646) | Borderou de evaluare (job #1007992) | Borderou de evaluare (job #1485852)
Borderou de evaluare (job #1485852)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:104: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puncte.in","r",stdin),freopen("puncte.out","w",stdout),scanf("%d%d",&n,&m),z[1]=0x3f3f3f3f;
^
user.cpp:16:104: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:16:104: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:18:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p[i].x,&p[i].y);
^
user.cpp:24:122: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x),i=upper_bound(z,z+l,x)-z-1,printf("%lld\n",(ll)(x-p[s[i]].x)*(x-p[s[i]].x)+(ll)(p[s[i]].y*p[s[i]].y));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 8ms | 292kb | Incorect | 0 |
3 | 24ms | 328kb | Incorect | 0 |
4 | 72ms | 420kb | Incorect | 0 |
5 | 224ms | 992kb | Incorect | 0 |
6 | 20ms | 308kb | Incorect | 0 |
7 | 248ms | 1032kb | Incorect | 0 |
8 | 272ms | 1064kb | Incorect | 0 |
9 | 280ms | 1068kb | Incorect | 0 |
10 | 280ms | 1068kb | Incorect | 0 |
Punctaj total | 10 |