提交时间:2019-09-27 23:10:05
运行 ID: 1022
#include<iostream> int main(){ int a,b,c,d,e,o,p,q,r,s,n,m; scanf("%d",&n); if(n<=100&&n>=0){ m=n*5; p=n/2; o=n+4*p; e=o/16; q=p+o/2+3*(n/4); d=q/8; r=n/4+q/2+o/4+2*(n/8); c=r/4; s=n/8+q/4+r/2+o/8+n/16; b=s/2; a=m-b-c-d-e; printf("%d %d %d %d %d",a,b,c,d,e); } return 0; }