| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 129976 | 梁煜然 | 投资收益 | C++ | Accepted | 100 | 0 MS | 244 KB | 192 | 2024-01-27 14:43:56 |
#include<iostream> using namespace std; int main(){ double m,r,w,xu,shou,y; cin>>m>>r>>w; xu=w-m; shou=m*r/100; for(int i=1;i*shou<=xu;i++){ y+=1; } cout<<y; return 0; }