Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102166 秦浩然 11种树 C++ Accepted 1 MS 272 KB 245 2024-12-21 12:20:53

Tests(11/11):


Code:

#include<iostream> using namespace std; int main(){ int n,k; cin>>n>>k; if(n<=0){ cout<<1; } if(n%k==0){ cout<<1+n/k; } if(n%k!=0>1){ cout<<1+n/k+1; } return 0; }