Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
107205 陈铎文 14经过路口 C++ Accepted 0 MS 264 KB 268 2025-01-17 14:48:51

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int i,n=100000; for(i=1;;i++){ if(n>50000){ n=n-(0.05*n); } else{ n=n-5000; } if(n<5000){ cout<<i; break; } } return 0; }