One-Dimensional Battle Ships 【题意】Bob和Alice在玩一个游戏,在一个长度为 … 继续阅读“codeforces 567D – One-Dimensional Battle Ships(set二分)”
分类:codeforces
codeforces 553A – Kyoya and Colored Balls(组合数学+乘法逆元)
题目链接:Kyoya and Colored Balls 【题意】给出K(<=1000)种颜色的球,球的 … 继续阅读“codeforces 553A – Kyoya and Colored Balls(组合数学+乘法逆元)”
Codeforces Round #301 (Div. 2) 题解
【Combination Lock(A)】 求出两个字符串每一位数字最小之差相加即可。 【AC CODE】15 … 继续阅读“Codeforces Round #301 (Div. 2) 题解”
codeforces545E – Paths and Trees(最短路)
题目链接:Paths and Trees 【题意】给出一张无向连通图,求点u到所有点最短路不变的情况下的最小生 … 继续阅读“codeforces545E – Paths and Trees(最短路)”
codeforces 546D – Soldier and Number Game(素数筛选+dp)
题目链接:Soldier and Number Game 【题意】两个士兵在玩一个游戏,第一个士兵有一个数字n … 继续阅读“codeforces 546D – Soldier and Number Game(素数筛选+dp)”