Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
101765 | 李泽宜 | 11种树 | C++ | Wrong Answer | 1 MS | 272 KB | 196 | 2024-12-17 20:42:51 |
#include<bits/stdc++.h> using namespace std; int main() { int n,k; cin>>n>>k; int m=n/k; if(n%k>1){ cout<<m+1<<endl; }else{ cout << m << endl; } return 0; }
------Input------
1034 99
------Answer-----
12
------Your output-----
11