Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
108635 | 陈骏睿 | 11种树 | C++ | Wrong Answer | 0 MS | 272 KB | 385 | 2025-01-21 09:34:34 |
#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 a,b,sum; cin>>a>>b; sum=a/b+1; if(a%b>1){ sum+=2; }else{ sum=a/b+1; } cout<<sum<<endl; return 0; }
------Input------
1034 99
------Answer-----
12
------Your output-----
13