魈凯KBS • 5个月前
using namespace std;
int main(void) {
int i=1;
double m,r,w;
cin>>m>>r>>w;
r=r/100+1;
while(m<w)
{
m*=r; i++;
}
cout<<i-1;
return 0;
评论: