| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 160409 | 罗钰帆 | 14经过路口 | C++ | Accepted | 1 MS | 264 KB | 429 | 2026-09-17 19:47:11 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n=100000,m=0; while(n>=5000){ m++; if(n>=50000) n-=n*0.05; else n-=5000; } cout<<m; return 0; }