提交时间:2019-09-28 14:57:17
运行 ID: 1041
#include<iostream> int main(){ int a,b,c,d,e,n,m,o,p,q,r,f,g,h,i,j,idea; scanf("%d",&n); idea=n*5; m=n/2; f=n+4*m; e=f/16; o=m/2; g=f/2+m+3*o; d=g/8; p=o/2; h=(f/4+g/2+3*p+p); c=h/4; q=p/2; i=(f/8+g/4+h/2+2*q+q); b=i/2; a=idea-e-b-c-d; printf("%d %d %d %d %d",a,b,c,d,e); return 0; }