提交时间:2020-07-27 21:55:51

运行 ID: 5182

#include<bits/stdc++.h> using namespace std; int main(){ int n,a1,a2,a3,a4,a5; cin>>n; a1=(5*n-(n/16))/2+n/16; a2=((5*n-(n/8))/2+n/8)/2; a3=((5*n-(n/4))/2+n/4)/4; a4=((5*n-(n/2))/2+n/2)/8; a5=((5*n-n)/2+n)/16; cout<<a1<<" "<<a2<<" "<<a3<<" "<<a4<<" "<<a5; return 0; }