Microsoft • 9个月前
using namespace std; int main() {
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;
评论: