| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 72412 | 吕毅心 | 14经过路口 | C++ | Accepted | 0 MS | 260 KB | 332 | 2024-05-05 18:16:40 |
# include<iostream> # include<cstdio> using namespace std; int main(){ int l=0,n=100000,m=0; while(n>5000){ if(n>50000){ n=n-n*0.05; m=m+1; }else{ n=n-5000; m=m+1; } } cout<<m; return 0; }