申凯文 • 1个月前
#include <bits/stdc++.h>
using namespace std;
int main() {
double n,x=0,i=2;
cin>>n;
while(n>0){
x++;
n-=i;
i*=0.98;
}
cout<<x;
评论: