蒟蒻一个,求助大佬(另附随便乱写的代码)
查看原帖
蒟蒻一个,求助大佬(另附随便乱写的代码)
763775
llll02楼主2022/10/20 08:55
#include<bits/stdc++.h>
using namespace std;
int main(){
	int s,x;
	cin>>x;
	for(int i=0;;i++){ 
	s++;
	x=x/100*98;
	if(x>s)
	break;}
	cout<<s; 
	return 0;
}
2022/10/20 08:55
加载中...