Run ID:71645
提交时间:2024-04-27 10:49:45
#include<bits/stdc++.h> using namespace std; int main(){ int m=100000; int cnt=0; while(m>=5000){ if(m>=50000){ m*=0.95; }else{ m-=5000; } cnt++; } cout<<cnt; return 0; }