#include <stdio.h> int main(void) { int n,h,m,last,op=0; scanf("%d %d %d",&n,&h,&m);//数据不会出错就不判断了 if(m%h){op=1;} last=n-m/h-op; printf("%d\n",last); }
#include <stdio.h> int main(void) { int n,h,m,last,op=0; scanf("%d %d %d",&n,&h,&m);//数据不会出错就不判断了 if(m%h){op=1;} last=n-m/h-op; printf("%d\n",last); }