Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
129991 林建彤 投资收益 C++ Accepted 100 0 MS 240 KB 211 2024-01-27 14:50:46

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; }


Judgement Protocol: