提交时间:2019-10-13 20:45:17
运行 ID: 1575
#include<iostream> int main(){ int a,b,c,d,e,n; scanf("%d",&n); a=n;b=n;c=n;d=n;e=n; e=e+(a-a/2)+(b-b/2)+(c-c/2)+(d-d/2);a=a/2;b=b/2;c=c/2;d=d/2; d=d+(a-a/2)+(b-b/2)+(c-c/2)+(e-e/2);a=a/2;b=b/2;c=c/2;e=e/2; c=c+(a-a/2)+(b-b/2)+(d-d/2)+(e-e/2);a=a/2;b=b/2;d=d/2;e=e/2; b=b+(a-a/2)+(c-c/2)+(d-d/2)+(e-e/2);a=a/2;c=c/2;d=d/2;e=e/2; a=a+(b-b/2)+(c-c/2)+(d-d/2)+(e-e/2);b=b/2;c=c/2;d=d/2;e=e/2; printf("%d %d %d %d %d",a,b,c,d,e); return 0; }