| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1171 | 倪邢暄 | 五个小朋友分巧克力 | C++ | Accepted | 100 | 0 MS | 256 KB | 272 | 2019-10-04 19:08:07 |
#include<iostream> int main(){ int a,b,c,d,e,n,z; scanf("%d",&n); a=n/2; e=n+a*4; b=a/2; d=a+b*3+e/2; a=b/2; c=b+a*2+e/4+d/2; b=a+a/2+c/2+d/4+e/8; e=e/16; d=d/8; c=c/4; b=b/2; a=a/2+b+c+d+e; printf("%d %d %d %d %d",a,b,c,d,e); return 0; }