题解 | #KiKi和酸奶#
KiKi和酸奶
https://www.nowcoder.com/practice/c7721f3a1b1a47a783974453e82cadbb
#include <stdio.h>
int main() {
int a, b,c;
while (scanf("%d %d %d", &a, &b ,&c) != EOF) { // 注意 while 处理多个 】
//a多少没打开的酸奶
//b几分钟喝光一盒
//c经过了多少分钟
//c/b 是在c分钟能喝多少酸奶
//c%b 是打开了 没喝完
a-=(c / b) + (c % b);
printf("%d",a);
}
return 0;
}

