Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
107212 | 王子毅 | 14经过路口 | C++ | Wrong Answer | 1 MS | 260 KB | 271 | 2025-01-17 14:51:18 |
#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-1<<endl; return 0; }
------Input------
0
------Answer-----
23
------Your output-----
9