求大佬指点

P1047 [NOIP2005 普及组] 校门外的树

qbswnd @ 2024-10-06 15:53:31

https://www.luogu.com.cn/discuss/new?forum=P1047


by Focalors_HuTao @ 2024-10-06 15:56:41

因为l只有10000,所以用标记数组,移动过了标记一下(例如0,1标记,没移的用0,移过得用1)


by qbswnd @ 2024-10-07 12:04:02

@Focalors_HuTao 感谢


by Focalors_HuTao @ 2024-10-07 13:52:50

@qbswnd 求关注


by qbswnd @ 2024-10-07 15:47:23

@Focalors_HuTao 已关


|