Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134505 周宸宇 14经过路口 C++ Accepted 0 MS 260 KB 449 2025-10-27 18:54:42

Tests(1/1):


Code:

#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 m,s=0,x=100000; for(int i=1;i<=100;i++){ x=x*0.95; if(x<50000){ m=x/5000; cout<<i+m; break; } } return 0; }