Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
107209 王子毅 14经过路口 C++ Wrong Answer 0 MS 264 KB 269 2025-01-17 14:50:54

Tests(0/1):


Code:

#include<iostream> using namespace std; int main(){ int a=0,b=100000; while(b>0) { if(b>50000) { b = b-b*0.05; continue; } b-=5000; a++; } cout<<a<<endl; return 0; }


Run Info:

------Input------
0
------Answer-----
23
------Your output-----
10