| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 73003 | Kevin | 14经过路口 | C++ | Wrong Answer | 0 MS | 268 KB | 279 | 2024-05-15 15:49:55 |
#include<iostream> #include<cstdio> #include<cmath> using namespace std; int main(){ double cash=100000; int cishu=0; while(cash>=5000){ if(cash>50000) { cash=cash*0.95; cishu++; } else cash-=5000; cishu++; } cout<<cishu; return 0; }
------Input------
0
------Answer-----
23
------Your output-----
37