Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102079 王煜鑫 11种树 C++ Accepted 1 MS 276 KB 169 2024-12-21 11:55:36

Tests(11/11):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b; c=a/b; if(a%b==0){ cout<<c+1; } else{ cout<<c+2; } }