Gym – 101102B B. The Little Match Girl 贪心、数论、分步
B. The Little Match Girl 贪心、数论、分步 Source 2016 ACM Amman Collegiate Programming Con…
B. The Little Match Girl 贪心、数论、分步 Source 2016 ACM Amman Collegiate Programming Con…
去年春恨却来时,落花人独立,微雨燕双飞 Dijkstra+构造 Source 2017 UESTC Training for Graph Theor…
C. Voltage Keepsake 二分 My Solution 题意:每个设备初始电量为bi,每秒消耗ai,然后充电器每秒可…
Censored! AC自动机+dp Source URAL - 1158 ACM ICPC 2001. Northeastern European Region, Northern …
Billing Tables Tire、字典树 Source UVALive - 3703, UVA - 1385, POJ - 3149 NEERC 2006 My Soluti…
C. Felicity is Coming! 组合学+集合 My Solution 题意:给出n组数,每组gi个数,每个数属于1~m,每…
B. The Meeting Place Cannot Be Changed 三分 My Solution 题意:n个人每个人在xi位置且运行速度为…
C. Andryusha and Colored Balloons DFS My Solution 题意:给出一颗无根树,要求如果a-b相连 b-c相…
Fire Station Building floyd+三分 Source SGU - 465 Gym - 100206B My Solution 题意:有n个城市m条…
D. Anton and School - 2 前缀的后缀、 范德蒙恒等式、容斥 My Solution 题意:给出一个只有"("和“)…