摘要: You are given an array a consisting of n integers, and additionally an integer m. You have to choose some sequence of indices b1, b2, ..., bk (1 ≤ b1 阅读全文
posted @ 2019-06-27 16:59 茄子Min 阅读(359) 评论(0) 推荐(0) 编辑
摘要: A permutation p of size n is an array such that every integer from 1 to n occurs exactly once in this array. Let's call a permutation an almost identi 阅读全文
posted @ 2019-06-27 16:42 茄子Min 阅读(198) 评论(0) 推荐(0) 编辑