一直被卡在60分 只会C语言 各位大佬求教
#include <stdio.h> int main() { int m, t, s; scanf_s("%d %d %d", &m, &t, &s); int apple=0; if (t!= 0) { if (s % t == 0) apple = m - s / t; else apple = m - 1 - s / t; } else apple = 0; printf("%d\n", apple); return 0; }