张志鹏 • 5年前
安一宸,我给你答案
评论:
#include<iostream>
int main(){
int a,b,c,d,e,f;
scanf("%d",&a);
b=c=d=e=f=a;
b=b/2;
c=c/2;
d=d/2;
e=e/2;
f=b+c+d+e+f;
b=b/2;
c=c/2;
d=d/2;
f=f/2;
e=b+c+d+e+f;
b=b/2;
c=c/2;
e=e/2;
f=f/2;
d=b+c+d+e+f;
b=b/2;
d=d/2;
e=e/2;
f=f/2;
c=b+c+d+e+f;
c=c/2;
d=d/2;
e=e/2;
f=f/2;
b=b+c+d+e+f;
printf("%d %d %d %d %d",b,c,d,e,f);
return 0;
}