题解 | #KiKi和酸奶#
KiKi和酸奶
https://www.nowcoder.com/practice/c7721f3a1b1a47a783974453e82cadbb
#include <stdio.h> int main() { int n,h,m; scanf("%d %d %d",&n,&h,&m); if(m<=n*h) { int a=0; if(m%h==0) { a=n-m/h; printf("%d",a);} else { a=n-1-m/h; printf("%d",a); } } return 0; }