一道弱题,全wa,求好心人帮助

P1610 鸿山洞的灯

@[telankesi](/user/866969) 在ans++前面加个p[i+1] = p[i]就可以了(避免把关着的灯算进去)
by shiyiheng @ 2023-01-28 11:32:28


|