Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
98856 | 罗迎甲 | 14经过路口 | C++ | Wrong Answer | 0 MS | 260 KB | 499 | 2024-11-23 16:33:16 |
#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 a,x=100000; for(a=1;;a++){ if(x>50000){ x=x-(x*0.05); }else{ x=x-5000; }if(x<5000);{ cout<<a; break; } } return 0; }
------Input------
0
------Answer-----
23
------Your output-----
1