Codeforces Hello 2018 C. Party Lemonade 贪心、优先队列

C. Party Lemonade 贪心、优先队列 My Solution 题意:有n种饮料,每种的一份 2^(i-1)升花费ci 卢布…

  • ACM-ICPC题解贪心
  • 2018/1/13
  • 158
  • 2016 UESTC Training for Data Structures D – 卿学姐与魔法 优先队列、构造

    D - 卿学姐与魔法 优先队列、构造 My Solution 用STL里的优先队列直接维护前n+1小的数字 ptr = 0 …

  • ACM-ICPC题解数据结构
  • 2017/11/30
  • 141
  • UESTC 1593 老司机破阵 优先队列+双端链表

    老司机破阵 优先队列+双端链表 Source 2017 UESTC Training for Data Structures UESTC 1593 老司机破…

  • ACM-ICPC题解数据结构
  • 2017/7/24
  • 131
  • UESTC 1595 老司机的毒奶 贪心+二叉树+优先队列

    老司机的毒奶 贪心+二叉树+优先队列 Source 2017 UESTC Training for Data Structures UESTC 1595 老…

  • ACM-ICPC题解数据结构
  • 2017/5/16
  • 148
  • Codeforces Round #402 (Div. 2) D. String Game 二分+优先队列+字符串匹配

    D. String Game 二分+优先队列+字符串匹配 My Solution 题意:给出文本串和目标串,然后给出一个文…

  • ACM-ICPC题解二分法
  • 2017/2/26
  • 146
  • Codeforces Round #378 (Div. 2) D. Kostya the Sculptor __ data structures、map>

    D. Kostya the Sculptor data structures Source Codeforces Round #378 (Div. 2)   My Solut…

  • ACM-ICPC题解技巧题
  • 2016/11/13
  • 115
  • Intel Code Challenge Elimination Round (Div.1 + Div.2, combined) D. Generating Sets __ dfs+优先队列+贪心

    D. Generating Sets dfs+优先队列+贪心 My Solution dfs+优先队列+贪心 向把数读入到priority_queue…

  • ACM-ICPC题解dfs/bfs
  • 2016/10/3
  • 143
  • Intel Code Challenge Elimination Round (Div.1 + Div.2, combined) C. Destroying Array 双向链表+反向做+优先队列

    C. Destroying Array 双向链表+反向做+优先队列 My Solution 双向链表+反向做+优先队列 反向做,按…

  • ACM-ICPC题解数据结构
  • 2016/10/3
  • 145
  • UVALive 6915 Leveling Ground 优先队列+map来维护区间最值

    J - Leveling Ground 优先队列+map来维护区间最值 Source UESTC 2016 Summer Training #19 UV…

  • ACM-ICPC题解
  • 2016/8/3
  • 123
  • UVa 11997 K Smallest Sums 优先队列 打有序表 归并

    UVa 11997 K Smallest Sums 优先队列 打有序表 归并 The question is from here. My Solution 把每个…

  • ACM-ICPC题解数据结构
  • 2016/3/5
  • 153