| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1181 | 李言 | 五个小朋友分巧克力 | C++ | Wrong Answer | 20 | 0 MS | 252 KB | 251 | 2019-10-05 16:46:37 |
#include<iostream> int main(){ int n,a,b,c,d,e; scanf("%d",&n); e=(n/2*4+n)/16; d=(n/4*3+e*16/2+n/2)/8; c=(n/8*2+e*16/4+d*8/2+n/4)/4; b=(n/16+e*16/8+d*8/4+c*4/2+n/8)/2; a=n*5-e-d-c-b; printf("%d %d %d %d %d",a,b,c,d,e); return 0; }