feel是对的,就是过不了。
查看原帖
feel是对的,就是过不了。
1413309
makeway楼主2024/8/6 14:11
#include<bits/stdc++.h>
using namespace std;
int main()
{
    double a=2,s,b;
    cin>>s;
	while(a<s){
		a=a*0.98+a;
		b++;
	}
	cout<<b<<endl;
    return 0;
}
2024/8/6 14:11
加载中...