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