#include <stdio.h> int main() { int n,h,m; scanf("%d %d %d",&n,&h,&m); printf("%d",n-m/h-m%h); //减去喝完的和正在喝的 return 0; }