如果你是10pts,样例输出11

P2627 [USACO11OPEN] Mowing the Lawn G

Oier_szc @ 2023-07-12 08:29:54

记得设队列head=0,tail=0。
如果设tail<head队列的开头就不是0了,对于 1<=i<=k会出问题。


by wangjingtian1234 @ 2023-07-28 16:03:39

szc好闪,拜谢szc!!!


|