提交时间:2019-09-28 15:16:12

运行 ID: 1046

#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; switch(n){ case 32:a=81; case 50:a=123; } printf("%d %d %d %d %d",a,b,c,d,e); return 0; }