提交时间:2019-10-17 20:30:56

运行 ID: 1656

#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; }