
模拟
Dust_Heart
这个作者很懒,什么都没留下…
展开
-
Codeforces 888D - Almost Identity Permutations 【数学模拟】
Codeforces 888D - Almost Identity Permutations 【数学模拟】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 identity permutation iff there exist at least n - k indice原创 2017-11-10 00:59:41 · 1096 阅读 · 0 评论 -
Codeforces 887C - Solution for Cube 【魔方旋转】
Codeforces 887C - Solution for Cube 【魔方旋转】During the breaks between competitions, top-model Izabella triesto develop herself and not to be bored. For example, now she tries to solveRubik's cube 2x2x2.It's too hard to learn to solve Rubik's cube instantly原创 2017-11-04 11:28:59 · 1201 阅读 · 7 评论 -
Codeforces 967E - Big Secret 【DFS序+线段树】
Codeforces Round #477 (rated, Div. 2, based on VK Cup 2018 Round 3)Vitya has learned that the answer forThe Ultimate Question of Life, the Universe, and Everything is not the integer 5442, but an increasing integer sequence a1,…,an In order to not reveal原创 2018-04-30 22:30:08 · 799 阅读 · 2 评论