Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
129968 枫原万叶·原神·米哈游 投资收益 C++ Accepted 100 0 MS 248 KB 183 2024-01-27 14:42:00

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: