摘要: ZYB has a premutation P,but he only remeber the reverse log of each prefix of the premutation,now he ask you to restore the premutation. Pair (i, j)(i 阅读全文
posted @ 2016-08-16 15:51 苍鼠 阅读(232) 评论(0) 推荐(0) 编辑