Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1971 | 杨洋杰 | 11种树 | C++ | Wrong Answer | 0 MS | 252 KB | 173 | 2023-12-02 18:34:14 |
#include<iostream> using namespace std; int main(){ int n,k,s; cin>>n>>k; s=1+n/k; if(n-s>1&&n-s<k) s++; cout<<s<<endl; return 0; }
------Input------
596 99
------Answer-----
8
------Your output-----
7