Hack

P4097 【模板】李超线段树 / [HEOI2013] Segment

naoliaok_lovely @ 2023-07-18 19:33:15

https://www.luogu.com.cn/record/116257843

in:

3
1 1 1 2 1
1 1 1 2 2
0 2

out:

2

我那份代码下放边界没判好,答案是 1


by naoliaok_lovely @ 2023-07-18 19:33:34

@小粉兔


by naoliaok_lovely @ 2023-07-18 19:40:17

建议放 hack 里


by naoliaok_lovely @ 2023-07-18 19:54:58

@一扶苏一
@小粉兔


|