Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148794 吴昊 14经过路口 C++ Accepted 0 MS 264 KB 274 2026-02-28 19:54:57

Tests(1/1):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int a=100000,b=0; while(a>=5000){ if(a>50000){ a*=0.95; b++; }else{ a-=5000; b++; } } cout<<b; return 0; }