Codeforces Round #456 (Div. 2) B. New Year’s Eve 贪心、构造、位运算、异或和
B. New Year's Eve 贪心、构造、位运算、异或和 My Solution 题意:给出1~n这n个数,最多选k个数,…
B. New Year's Eve 贪心、构造、位运算、异或和 My Solution 题意:给出1~n这n个数,最多选k个数,…
D - 卿学姐与魔法 优先队列、构造 My Solution 用STL里的优先队列直接维护前n+1小的数字 ptr = 0 …
C. Molly's Chemicals 区间和、构造、前缀的后缀 My Solution 题意:给出n个数字,要求选出一段连续…
大学生足球联赛 构造、蛇形安排赛程表 Source 2017 UESTC Training for Dynamic Programming UESTC 16…
去年春恨却来时,落花人独立,微雨燕双飞 Dijkstra+构造 Source 2017 UESTC Training for Graph Theor…
Great Inversion 逆序数、构造 Source The 13th UESTC Programming Contest Preliminary The que…
D. Artsem and Saunders 映射+构造 My Solution 题意:给出一个函数f(x) 属于[1,x],然后要求确定一…
D. Sea Battle 贪心+构造 Source Codeforces Round #380 (Div. 2, Rated, Based on Technocup 2017…
C. Epidemic in Monstropolis 贪心+构造 Source Codeforces Round #378 (Div. 2) My Soluti…
D. Recover the String 构造、贪心、多坑、WA162 My Solution 构造、贪心、多坑、WA162 首先用杨辉…