Codeforces Hello 2018 C. Party Lemonade 贪心、优先队列
C. Party Lemonade 贪心、优先队列 My Solution 题意:有n种饮料,每种的一份 2^(i-1)升花费ci 卢布…
C. Party Lemonade 贪心、优先队列 My Solution 题意:有n种饮料,每种的一份 2^(i-1)升花费ci 卢布…
D - 卿学姐与魔法 优先队列、构造 My Solution 用STL里的优先队列直接维护前n+1小的数字 ptr = 0 …
老司机破阵 优先队列+双端链表 Source 2017 UESTC Training for Data Structures UESTC 1593 老司机破…
老司机的毒奶 贪心+二叉树+优先队列 Source 2017 UESTC Training for Data Structures UESTC 1595 老…
D. String Game 二分+优先队列+字符串匹配 My Solution 题意:给出文本串和目标串,然后给出一个文…
D. Kostya the Sculptor data structures Source Codeforces Round #378 (Div. 2) My Solut…
D. Generating Sets dfs+优先队列+贪心 My Solution dfs+优先队列+贪心 向把数读入到priority_queue…
C. Destroying Array 双向链表+反向做+优先队列 My Solution 双向链表+反向做+优先队列 反向做,按…
J - Leveling Ground 优先队列+map来维护区间最值 Source UESTC 2016 Summer Training #19 UV…
UVa 11997 K Smallest Sums 优先队列 打有序表 归并 The question is from here. My Solution 把每个…