Gym – 101102B B. The Little Match Girl 贪心、数论、分步

B. The Little Match Girl 贪心、数论、分步 Source 2016 ACM Amman Collegiate Programming Con…

  • ACM-ICPC题解数学题
  • 2017/4/20
  • 165
  • UESTC 1633 去年春恨却来时,落花人独立,微雨燕双飞 Dijkstra+构造

    去年春恨却来时,落花人独立,微雨燕双飞 Dijkstra+构造 Source 2017 UESTC Training for Graph Theor…

  • ACM-ICPC题解图论
  • 2017/4/19
  • 149
  • Codeforces Round #409 (Div. 2) C. Voltage Keepsake 二分

    C. Voltage Keepsake 二分 My Solution 题意:每个设备初始电量为bi,每秒消耗ai,然后充电器每秒可…

  • ACM-ICPC题解二分法
  • 2017/4/17
  • 125
  • URAL – 1158 Censored! AC自动机+dp

    Censored! AC自动机+dp Source URAL - 1158 ACM ICPC 2001. Northeastern European Region, Northern …

  • ACM-ICPC题解字符串题dp
  • 2017/4/16
  • 140
  • UVALive – 3703 Billing Tables Tire、字典树

    Billing Tables Tire、字典树  Source UVALive - 3703, UVA - 1385, POJ - 3149 NEERC 2006 My Soluti…

  • ACM-ICPC题解字符串题数据结构
  • 2017/3/29
  • 132
  • Codecraft-17 and Codeforces Round #391 (Div. 1 + Div. 2, combined) C. Felicity is Coming!组合学+集合

    C. Felicity is Coming! 组合学+集合 My Solution 题意:给出n组数,每组gi个数,每个数属于1~m,每…

  • ACM-ICPC题解技巧题
  • 2017/3/28
  • 129
  • Codeforces Round #403 (Div. 2) B. The Meeting Place Cannot Be Changed 三分

    B. The Meeting Place Cannot Be Changed 三分 My Solution 题意:n个人每个人在xi位置且运行速度为…

  • ACM-ICPC题解二分法
  • 2017/3/21
  • 152
  • Codeforces Round #403 (Div. 2) C. Andryusha and Colored Balloons DFS

    C. Andryusha and Colored Balloons DFS My Solution 题意:给出一颗无根树,要求如果a-b相连 b-c相…

  • ACM-ICPC题解dfs/bfs
  • 2017/3/20
  • 159
  • SGU – 465 Fire Station Building floyd+三分

    Fire Station Building floyd+三分 Source SGU - 465 Gym - 100206B My Solution 题意:有n个城市m条…

  • ACM-ICPC题解图论
  • 2017/3/20
  • 414
  • Codeforces Round #404 (Div. 2) D. Anton and School – 2 前缀的后缀、 范德蒙恒等式、容斥

    D. Anton and School - 2 前缀的后缀、 范德蒙恒等式、容斥 My Solution 题意:给出一个只有"("和“)…

  • ACM-ICPC题解数学题
  • 2017/3/16
  • 164