Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
6722 | 邓小龙 | 11种树 | C++ | Wrong Answer | 0 MS | 264 KB | 386 | 2025-03-14 16:50:22 |
#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,a; cin>>n>>k; if(n%k==0||n%k<1){ a=n/k; } else a=n/k+1; cout<<a<<endl; return 0; }
------Input------
596 99
------Answer-----
8
------Your output-----
7