自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 Codeforces Round 708 (Div. 2)C2. k-LCM (hard version)

3⩽k⩽n给定一个整数n,请找到k个和为n的正整数a1​a2​ak​,使得lcma1​a2​ak​⩽2n​。t组数据,1⩽t⩽1043⩽n⩽1093⩽k⩽n。保证所有t组数据中∑k⩽105。

2023-03-08 23:40:48 78 1

原创 Educational Codeforces Round 85 (Rated for Div. 2)C. Circle of Monsters

【代码】Educational Codeforces Round 85 (Rated for Div. 2)C. Circle of Monsters。

2023-03-05 23:28:29 66

原创 Educational Codeforces Round 144 (Rated for Div. 2) (C-D)题解

Educational Codeforces Round 144 (Rated for Div. 2) (C-D)题解 C. Maximum Set

2023-03-01 18:58:58 229

原创 Codeforces Round #642 (Div. 3)D. Constructing the Array[优先队列]

采用优先队列,存储 (node){l,r} 元素,每次操作最长区间即可,具体思路见代码。

2023-02-28 22:31:42 69

原创 Codeforces Round #645 (Div. 2)C. Celex Update(规律)

Codeforces Round #645 (Div. 2)C. Celex Update(规律)题目大意:### 给你一个图,要求从$(x_1,y_1)$ 走到 $(x_2,y_2)$,只能向左或下,然后得到所走路径上的数之和,问一共有多少种和。

2023-02-26 19:54:55 60

原创 Codeforces Round #723 (Div. 2)C2. Potions (Hard Version)[贪心+优先队列]

【题解】Codeforces Round #723 (Div. 2)C2. Potions (Hard Version)[贪心+优先队列]一共有 n (n

2023-02-23 23:58:49 86

原创 Educational Codeforces Round 93 (Rated for Div. 2)C. Good Subarrays[前缀和]

【题解】Educational Codeforces Round 93 (Rated for Div. 2)C. Good Subarrays[前缀和]给你一个只包含 0-9 的长度为 n $(n

2023-02-22 19:45:38 149

原创 Codeforces Round #635 (Div. 1)A. Linova and Kingdom

【题解】Codeforces Round #635 (Div. 1)A. Linova and Kingdom。给你一个含有 n 个节点的树,1号节点为根节点,要求选定 k 个节点作为黑点,目标为 所有黑点到根节点的最短路径上经过的白点数之和。

2023-02-22 12:46:08 77

原创 Codeforces Round #218 (Div. 2) 371C - Hamburgers (二分)

【题解】Codeforces Round #218 (Div. 2) 371C - Hamburgers (二分)

2023-02-20 23:52:52 85 1

原创 Codeforces Round #222 (Div. 1) 377A - Maze (连通块)

【题解】Codeforces Round #222 (Div. 1) 377A - Maze (连通块)

2023-02-20 23:51:58 60

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除