#include<iostream>
#include<stdio.h>
#include<math.h>
using namespace std;
int main()
{
//freopen("in.txt","r",stdin);
double benjin;double lilv;double mudi;
while(scanf("%lf %lf %lf",&benjin,&lilv,&mudi)!=EOF)
{
int i=1;
while(benjin*pow(1+lilv/100,i)<mudi)
{
i++;
}
cout<<i<<endl;
}
return 0;
}
hdoj 2398
最新推荐文章于 2019-01-27 14:31:43 发布