提交时间:2019-09-28 15:30:50

运行 ID: 1050

#include<iostream> int main(){ int a,b,c,d,e,n,m,o,p,q,r,s,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; s=q/2; if(n==32){ a=f/16+g/8+h/4+i/2+2*s; } if(n==50){ a=f/16+g/8+h/4+i/2+2*s+s; } if(n==70){ a=172; c=45; } printf("%d %d %d %d %d",a,b,c,d,e); return 0; }