| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150069 | 唐俊逸 | 11种树 | C++ | Wrong Answer | 1 MS | 272 KB | 444 | 2026-03-21 19:03:31 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n,k,c; cin>>n>>k; c=n/k; if(n%k==0){ cout<<c; } if (n%k>=1){ c=c+2; cout<<c; } return 0; }
------Input------
10 2
------Answer-----
6
------Your output-----
5