Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
61910 陈梓睿 11种树 C++ Accepted 1 MS 276 KB 217 2023-12-14 22:22:15

Tests(11/11):


Code:

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