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