#include <stdio.h> #include<math.h> #include <stdio.h> #include<math.h> int main(){ int n,h,m,a; scanf("%d %d %d",&n,&h,&m); if(m%h==0) a=n-m/h; else a=n-1-m/h; printf("%d",a); return 0; }
#include <stdio.h> #include<math.h> #include <stdio.h> #include<math.h> int main(){ int n,h,m,a; scanf("%d %d %d",&n,&h,&m); if(m%h==0) a=n-m/h; else a=n-1-m/h; printf("%d",a); return 0; }