@[Lindafish](/user/1210664)
有可能减出来 $number<0$,此时是苹果全吃完了,但是不可能存在负数。
若存在负数,则是吃完了,虫子没得吃了。
by 2021zjhs005 @ 2024-01-20 07:08:04
还要注意,可能 $t=0$,会导致 `RE`,要特判。
by 2021zjhs005 @ 2024-01-20 07:09:33
@[2021zjhs005](/user/1121995) 谢谢大佬!
by Lindafish @ 2024-01-20 10:02:08