Run ID:6297
提交时间:2025-01-21 11:59:50
#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=0,k=0,z=0,a=0,b=0; cin>>n>>k; z=n/k; a=z*k; b=n-a; if(b>=1){ z=z+1; } cout<<z<<endl; return 0; }