提交时间:2020-07-27 12:22:53
运行 ID: 5085
#include<bits/stdc++.h> using namespace std; int main(){ int n,a,b,c,e,d; cin>>n; e=(5*n-n/2-n/2-n/2-n/2)/16; d=(5*n-n/4-n/4-n/4-8*e)/8; c=(5*n-n/8-n/8-4*d-4*e)/4; b=(5*n-2*c-2*d-2*e-n/16)/2; a=b+c+d+e+n/16; cout<<a<<" "<<b<<" "<<c<<" "<<d<<" "<<e; return 0; }