Pagini recente » Borderou de evaluare (job #3224682) | Borderou de evaluare (job #354492) | Borderou de evaluare (job #2806933) | Borderou de evaluare (job #1946643) | Borderou de evaluare (job #1428060)
Borderou de evaluare (job #1428060)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m),z[1]=INF;
^
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:19:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:21: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:28:96: 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",sqr(x-p[s[i]].x)+sqr(p[s[i]].y));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 8ms | 280kb | OK | 10 |
| 3 | 28ms | 320kb | OK | 10 |
| 4 | 80ms | 416kb | OK | 10 |
| 5 | 248ms | 1024kb | OK | 10 |
| 6 | 24ms | 300kb | OK | 10 |
| 7 | 260ms | 1024kb | OK | 10 |
| 8 | 276ms | 1056kb | OK | 10 |
| 9 | 284ms | 1056kb | OK | 10 |
| 10 | 288ms | 1056kb | OK | 10 |
| Punctaj total | 100 |