CF
程序猿从来不睡觉
这个人很懒。。。
展开
-
1775D - Friendly Spiders
图论,通过建立虚点来建立关系原创 2024-07-25 14:02:39 · 114 阅读 · 0 评论 -
1994D - Funny Game
思维题原创 2024-07-20 11:14:10 · 207 阅读 · 0 评论 -
1731C-Even Subarrays
前缀和优化,正难则反原创 2024-07-17 11:57:41 · 113 阅读 · 0 评论 -
1797D-Li Hua and Tree
树形dp原创 2024-07-15 14:33:04 · 361 阅读 · 0 评论 -
1820D-The Butcher
递推,思维原创 2024-07-14 17:15:38 · 112 阅读 · 0 评论 -
1986E-Beautiful Array
动态规划,前缀+后缀和,sort原创 2024-06-24 14:17:49 · 466 阅读 · 2 评论 -
1619D New Year‘s Problem
贪心,二分原创 2024-06-19 20:58:39 · 431 阅读 · 0 评论 -
1624G MinOr Tree
贪心题原创 2024-06-18 21:15:31 · 288 阅读 · 0 评论 -
1985H1 Maximize the Largest Component (Easy Version)
图论,并查集原创 2024-06-12 14:24:08 · 251 阅读 · 0 评论 -
1759G-Restore the Permutation
lower_bound(),优化原创 2024-05-23 21:45:59 · 400 阅读 · 0 评论 -
1847C-Vampiric Powers, anyone?
时间优化,前缀和原创 2024-05-20 16:49:22 · 503 阅读 · 0 评论 -
1833G-Ksyusha and Chinchilla
树形dp原创 2024-05-15 16:59:18 · 474 阅读 · 0 评论 -
1714G-Path Prefixes
树形dp原创 2024-05-14 09:20:28 · 352 阅读 · 0 评论 -
1851G-Vlad and the Mountains
并查集,离线询问原创 2024-05-07 14:33:15 · 318 阅读 · 0 评论 -
1878D-Reverse Madness
思维,优化,从出题人的角度去思考原创 2024-05-05 22:27:02 · 305 阅读 · 0 评论 -
1850H-The Third Letter
带权并查集原创 2024-05-05 15:33:31 · 447 阅读 · 0 评论 -
1968D-Permutation Game
思维原创 2024-05-04 16:14:21 · 544 阅读 · 0 评论 -
1839C-Insert Zero and Invert Prefix
逆向思维,拆分思想原创 2024-04-30 09:30:43 · 259 阅读 · 0 评论 -
1955E-Long Inversions
优化时间复杂度原创 2024-04-27 09:57:56 · 465 阅读 · 0 评论 -
1849C-Binary String Copying
思维原创 2024-04-26 11:28:41 · 531 阅读 · 0 评论 -
Maximum And Queries (easy version)
二进制贪心原创 2024-04-25 10:28:38 · 426 阅读 · 0 评论 -
1957C - How Does the Rook Move?
思维题原创 2024-04-22 19:00:32 · 677 阅读 · 0 评论 -
1915F - Greetings
树状数组+离散化原创 2024-04-19 13:58:05 · 516 阅读 · 0 评论 -
1950F - 0, 1, 2, Tree!
贪心思维原创 2024-04-17 20:17:57 · 769 阅读 · 0 评论 -
1864C - Divisor Chain
二进制解法以及lowbit()应用原创 2024-04-15 16:31:08 · 253 阅读 · 1 评论 -
1909C - Heavy Intervals
贪心算法,思路好想,但实现,考虑时间优化方面巧妙用数据结构原创 2024-04-15 11:17:33 · 556 阅读 · 1 评论 -
Nene‘s Magical Matrix
一道不错的思维题目(贪心)原创 2024-04-14 15:35:38 · 804 阅读 · 1 评论 -
Inhabitant of the Deep Sea
整体思想!!!原创 2024-04-12 19:30:09 · 359 阅读 · 0 评论 -
1900C - Anji‘s Binary Tree
简单的树形DP原创 2024-04-12 19:20:07 · 415 阅读 · 0 评论 -
1882B - Sets and Union
逆向思维原创 2024-04-07 11:43:16 · 350 阅读 · 0 评论 -
1918C - XOR-distance
关于XOR(异或)类型的题目原创 2024-04-01 19:44:18 · 233 阅读 · 0 评论 -
1935B - Informatics in MAC
首先对于MEX定义为:假设一个数组{2,0,4,5,1}中存在最小的没出现的数字,如该数组中没出现的最小数字为3,则该数组的MEX值为3。原创 2024-04-01 13:57:22 · 468 阅读 · 0 评论 -
1946C - Tree Cutting
树形DP原创 2024-04-02 18:53:50 · 489 阅读 · 1 评论 -
1917C - Watering an Array
1917C - Watering an Array原创 2024-04-03 16:17:24 · 322 阅读 · 1 评论