摘要: Holy Grail 限制 1000 ms 256 MB As the current heir of a wizarding family with a long history,unfortunately, you fifind yourself forced to participate in 阅读全文
posted @ 2019-09-01 19:58 SpringYEP 阅读(414) 评论(0) 推荐(0) 编辑
摘要: Greedy Sequence 限制 5000 ms 256 MB You're given a permutation a of length n (1 ≤ n ≤ 105). For each i ∈ [1, n], construct a sequence si by the followin 阅读全文
posted @ 2019-09-01 19:53 SpringYEP 阅读(480) 评论(0) 推荐(0) 编辑