Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
87883 | 张湘哲 | 11种树 | C++ | Wrong Answer | 0 MS | 272 KB | 169 | 2024-08-15 19:50:58 |
#include<iostream> using namespace std; int main() { int n,k; cin>>n>>k; int a; a=n%k; int t; t=n/k; if(a>1) { t+=1; } cout<<t; return 0; }
------Input------
1034 99
------Answer-----
12
------Your output-----
11