Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
130007 陈航 投资收益 C++ 通过 100 0 MS 248 KB 177 2024-01-27 14:54:59

Tests(3/3):


#include<bits/stdc++.h> 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; }


测评信息: