80分求助!有没有大佬帮我看看,
查看原帖
80分求助!有没有大佬帮我看看,
1176017
ybj114514楼主2024/7/5 19:09
#include<bits/stdc++.h>
using namespace std;
int main (){//改了114514次了(悲)
	int n;
	cin>>n;
	while(n>0){
		cout<<n<<" ";
		n=n/2;
	}
	
	return 0;

} 
2024/7/5 19:09
加载中...