Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
76108 sh25_shenpy 小虫爬墙 C++ 解答错误 0 MS 240 KB 185 2025-12-14 22:02:47

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n,m,s=0,i=0; cin>>n>>m; while(s<n){ s=s+m-1; i=i+2; } cout<<i+1; return 0;}


测评信息: