| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 131587 | 田子熙 | 14经过路口 | C++ | Accepted | 1 MS | 260 KB | 270 | 2025-09-28 11:52:17 |
#include<bits/stdc++.h> using namespace std; int main(){ long long mn=100000,l=0; int i; for(i=0;mn>=5000;i++){ if(mn>50000){ mn=mn*(1-0.05); }else{ mn=mn-5000; } //cout<<mn<<endl; //cout<<i<<endl; } l=i; cout<<l; return 0; }