Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
97821 欧阳俊懿 11种树 C++ Accepted 1 MS 272 KB 177 2024-11-16 16:33:25

Tests(11/11):


Code:

#include<iostream> using namespace std; int main() { int n,a,b; cin>>a>>b; if(a%b>1) { n=a/b+2; } else { n=a/b+1; } cout<<n<<endl; return 0; }