Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
432754 沈昊煊 【C2-4】小虫爬墙 C++ 通过 100 3 MS 248 KB 199 2026-03-17 16:30:27

Tests(6/6):


#include<iostream> using namespace std; int main(){ int x,y,a=0,b=1; cin>>x>>y; do{ a+=y; if(a>=x){ cout<<b; break; } a-=1; b=b+2; } while(true); return 0; }


测评信息: