s1c

一言(ヒトコト)

关注我

CF刷题记录

转载自xzggzh1的博客。大部分是xzggzh1巨佬整理,我也对内容精选了添减。

  1. CF678F Lena and Queries:维护凸包,离线插入删除点。

  2. CF679D Bear and Chase : 概率\(\rm DP\)乱搞(2900)。

  3. CF679E Bear and Bad Powers of 42 :线段树+势能(时间复杂度)分析(3100)。

  4. CF681D Gifts by the List:图论思维。

  5. CF681E Runaway to a Shadow :计算几何(2500)。

  6. CF682E Alyona and Triangles :计算几何乱搞(2600)。

  7. CF685C Optimal Point:二分+解不等式(2900)。

  8. CF685D Kay and Eternity :扫描线(2600)。

  9. CF685E Travelling Through the Snow Queen's Kingdom:离线,floyd(2800)。

  10. CF687D Dividing Kingdom II:greedy + 并查集 (黑)。

  11. CF689D Friends and Subsequences:统计所有区间a.max=b.min (2100)。

  12. CF689E Mike and Geometry Problem:k线段交覆盖计数(2000) (当年div2最后一题只有2000吗……)。

  13. CF690A2 Collective Mindsets (medium):海盗分金:至少多少金才保证p1不被杀(2300)。

  14. CF690C3 Brain Network (hard):‘动态’树直径 (2300)。

  15. CF691E Xor-sequences:矩乘优化\(\rm DP\)(紫)。

  16. CF696D Legen...:AC+矩乘(黑)。

  17. CF696E ...Wait for it...:树剖(3000)。

  18. CF696F ...Dary!:半平面交(3300)。

  19. CF698C LRU :状压+概率(2400)。

  20. CF698D Limak and Shooting Points :枚举+模拟 (2600)。

  21. CF700C Break Up :图论 割(2600)。

  22. CF700D Huffman Coding on Segment:莫队+哈夫曼(3100;紫)。

  23. CF702F T-Shirts :势能分析+平衡树(2800)。

  24. CF703E Mishka and Divisors:好\(\rm DP\)(2600)。

  25. CF704B Ant Man :贪心(黑)。

  26. CF704C Black Widow:\(\rm DP\)(2900)。

  27. CF704D Captain America:有上下界的网络流(3100)。

  28. CF704E Iron Man:树剖(3300)。

  29. CF706E Working routine:链表(2500)。

  30. CF707E Garlands:二位树状数组(2400)(数据水)。

  31. CF708D Incorrect Flow:有源汇上下界最小费用可行流(2900)。

  32. CF710F String Set Queries:强制在线带修改AC自动机(黑)。

  33. CF712E Memory and Casinos:推式子+线段树(黑)。

  34. CF713D Animals and Puzzle:二维RMQ(黑)。

  35. CF713E Sonya Partymaker:环状\(\rm DP\)(3300)。

  36. CF715C Digit Tree:点分治(2700)。

  37. CF715D Create a Maze:构造(3100)(紫)。

  38. CF715E Complete the Permutations:组合计数(3400)。

  39. CF717A Festival Organization:组合计数(2900)。

  40. CF717F Heroes of Making Magic III:找规律+线段树(2600)。

  41. CF717G Underfail:费用流(2400)。

  42. CF717H Pokermon League challenge:纯随机(2400)。

  43. CF717I Cowboy Beblop at his computer:三维计几(氵2800)。

  44. CF718C Sasha and Array:线段树维护矩阵(2400)。

  45. CF718D Andrew and Chemistry:树hash(2900)。

  46. CF718E Matvey's Birthday:图+状压\(\rm DP\)(3300)。

  47. CF720B Cactusophobia:有色点仙人掌删环成树颜色最多(2400)。

  48. CF720D Slalom:扫描线(3100)。

  49. CF721E Road to Home:单调队列优化\(\rm DP\)(氵2700)。

  50. CF722E Research Rover:\(\rm DP\)+组合数(2900)(好方法避免容斥)。

  51. CF722F Cyclic Cipher:数论(氵2800)。

  52. CF723F st-Spanning Tree:生成树(2300)。

  53. CF724E Goods transportation:\(\rm DP\)搞最小割(氵2900)。

  54. CF724F Uniformly Branched Trees:树+\(\rm DP\)+组合计数(2700)。

  55. CF724G Xor-matic Number of the Graph:线性基,按位算贡献(2600)。

  56. CF725E Too Much Money:枚举+剪枝(2600)。

  57. CF725G Messages on a Tree:树剖(氵3300)。

  58. CF729F Financiers Game:\(\rm DP\)(2500)。

  59. CF730I Olympiad in Programming and Sports:模拟费用流(2000)。

  60. CF732F Tourist Reform:边双联通分量(2300)。

  61. CF733E Sleep in Class:思维(黑)。

  62. CF733F Drivers Dissatisfaction:生成树上LCA(氵黑)。

  63. CF734F Anton and School:构造+思维(2500)。

  64. CF735E Ostap and Tree:树形\(\rm DP\)(2500)。

  65. CF736D Permutations:bitset优化矩阵求逆(2800)。

  66. CF739C Alyona and towers:线段树(氵黑)。

  67. CF739D Recover a functional graph:二分图匹配(3400)。

  68. CF739E Gosha is hunting:费用流 或 wqs二分套wqs二分(3000)。

  69. CF741C Arpa’s overnight party and Mehrdad’s silent entering:建图+二分图染色(2600)。

  70. CF741D Arpa’s letter-marked tree and Mehrdad’s Dokhtar-kosh paths:只能用dsu on tree做的dsu on tree模板题(2900)。

  71. CF743E Vladik and cards:div2的压轴\(\rm DP\)

  72. CF744C Hongcow Buys a Deck of Cards:好状压DP(2400)。

  73. CF744D Hongcow Draws a Circle:随机优化多组二分+计几(3200)。

  74. CF746F Music in Car:滑动窗口(紫)。

  75. CF749E Inversions After Shuffle:期望(紫)。

  76. CF750E New Year and Old Subsequence:线段树优化矩阵优化DP(2600)(tourist没当场切掉)。

  77. CF750F New Year and Finding Roots:树+交互(2800)。

  78. CF750G New Year and Binary Tree Paths==TJOI2019……线段树 :数位DP(3200) 。

  79. CF750H New Year and Snowy Grid:并查集(3500)。

  80. CF754C Vladik and chat:\(\rm DP\)(2200)。

  81. CF754D Fedor and coupons:最大k区间交(紫)。

  82. CF754E Dasha and cyclic table:bitset优化(2600)。

  83. CF755E PolandBall and White-Red graph:构造+图(2400)。

  84. CF755F PolandBall and Gifts:二进制优化背包(2600)。

  85. CF755G PolandBall and Many Other Balls:倍增FFT(3200)。

  86. CF756C Nikita and stack:线段树上二分(紫)。

  87. CF756D Bacterial Melee:\(\rm DP\)(2400)。

  88. CF756E Byteland coins:难\(\rm DP\)(3200)(tourist当年没做出来)。

  89. CF757D Felicity's Big Secret Revealed:状压DP(紫)。

  90. CF757E Bash Plays with Functions:数论,筛(黑)。

  91. CF757F Team Rocket Rises Again:支配树模板(2800)。

  92. CF757G Can Bash Save the Day?:树剖+可持久化线段树 \(|\) 动态点分治 (3400)(tourist当年没做出来)。

  93. CF758E Broken Tree:贪心(2600)。

  94. CF758F Geometrical Progression:数论(2400)。

  95. CF761F Dasha and Photos:思维-查分(2600)。

  96. CF762D Maximum path:好\(\rm DP\)(紫)。

  97. CF762F Tree nesting:树上状压\(\rm DP\)(2800)(好!)。

  98. CF763C Timofey and remoduling:思维(2600)。

  99. CF763D Timofey and a flat tree:换根(氵2900)。

  100. CF763E Timofey and our friends animals:并查集+前缀和(氵2900)。

  101. CF765F Souvenirs:离线区间差值最小,$\log^2 $ | $ \sqrt{ \ \ \ }$ (3100)(紫)。

  102. CF766E Mahmoud and a xor trip:树上全路径异或和(2100)。

  103. CF768G The Winds of Winter:dsu on tree (氵3300)。

  104. CF771E Bear and Rectangle Strips:好\(\rm DP\)(氵3000)。

  105. CF772C Vulnerable Kerbals:建图(氵黑)。

  106. CF772D Varying Kibibits:容斥 | \(\rm FWT\) (2700)。

  107. CF773D Perishable Roads:图论(2700)。

  108. CF773E Blog Post Rating:线段树(氵3000)。

  109. CF773F Test Data Generation:倍增\(\rm FFT\)(3400)。

  110. CF776G Sherlock and the Encrypted Data:数位\(\rm DP\)(2900)。

  111. CF778C Peterson Polyglot:\(\rm Trie+Dsu\) (2500)。

  112. CF778D Parquet Re-laying:普通构造(2700)。

  113. CF778E Selling Numbers:好\(\rm DP\)(3000)。

  114. CF780F Axel and Marston in Bitland:bitset + 矩阵乘法(氵黑)。

  115. CF780G Andryusha and Nervous Barriers:线段树套set维护扫描线(氵黑)。

  116. CF780H Intranet of Buses:二分+计几(3100)。

  117. CF785D Anton and School - 2:小组合计数(紫)。

  118. CF785E Anton and Permutation:动态逆序对(紫)。

  119. CF786A Berzerk:最朴素的博弈论(氵紫)。

  120. CF786B Legacy:线段树优化建图模板(紫)。

  121. CF786C Till I Collapse:主席树 | 根号分治(紫)。

  122. CF786D Rap God:卡常(3400)。

  123. CF786E ALT:树剖+线段树优化建边+网络流(3200)。

  124. CF788B Weird journey:欧拉图(紫)。

  125. CF788D Finding lines:普通交互(3000)(氵黑)。

  126. CF788E New task:线段树(2900)。

  127. CF792E Colored Balls:小数学+根号算法(2500)。

  128. CF792F Mages and Monsters:三维凸包(3100)。

  129. CF793E Problem of offices:思维(氵2900)。

  130. CF793F Julia the snail:吉司机线段树(氵3000)。

  131. CF793G Oleg and chess:扫描线+线段树优化建边+网络流(3400)。

  132. CF794D Labelling Cities:思维(紫)。

  133. CF794E Choosing Carrot:小思维(2900)。

  134. CF794F Leha and security system:线段树标记下放(2800)。

  135. CF796E Exam Cheating:小 \(\rm{DP}\) (氵黑)。

  136. CF796F Sequence Recovery:线段树+构造(2800)。

  137. CF797E Array Queries:根号分治(紫)。

  138. CF797F Mice and Holes:单调队列优化\(\rm DP\)(2600)。

  139. CF798D Mike and distribution:思维(2400)。

  140. CF798E Mike and code of a permutation:线段树优化拓扑排序(3000)。

  141. CF799E Aquarium decoration:小贪心(氵紫)。

  142. CF799F Beautiful fountains rows:异或的小性质(紫)(3500?)。

  143. CF799G Cut the pie:过任意点求给定多边形面积平分线(氵3500)。

  144. CF802C Heidi and Library (hard):费用流(黑)(2600)。

  145. CF802I Fake News (hard):后缀数组(2300)。

  146. CF802K Send the Fool Further! (medium):树形 \(\rm DP\)(2100)。

  147. CF802L Send the Fool Further! (hard):树上随机游走模板(紫)。

  148. CF802N April Fools' Problem (medium):wqs二分 | 费用流 (黑)。

  149. CF802O April Fools' Problem (hard): wqs二分 | 线段树优化费用流(2900)。

  150. CF803F Coprime Subsequences:小数学(紫)。

  151. CF803G Periodic RMQ Problem:动态开点线段树(氵黑)。

  152. CF804D Expected diameter of a tree:小期望+树的小性质(紫)。

  153. CF804E The same permutation:普通构造(3100)。

  154. CF804F Fake bullions:竞赛图缩点(3400)。

  155. CF808E Selling Souvenirs:\(w_i \leq 3\) 假背包(紫)。

  156. CF808F Card Game:网络流 | \(\rm {random\_shuffle}\)(紫)。

  157. CF808G Anthem of Berland:\(\rm kmp+DP\)(紫)。

  158. CF809C Find a car:找规律+数位\(\rm DP\)(2600)。

  159. CF809D Hitchhiking in the Baltic States:平衡树维护 \(\rm DP\)(2900)。

  160. CF809E Surprise me!:树上 \(\phi(a_i*a_j)* \text{dis}(i,j)\) 的期望(3100)。

  161. CF811E Vladik and Entertaining Flags:线段树(2600)。

  162. CF812E Sagheer and Apple Tree:博弈论(2300)。

  163. CF813E Army Creation:主席树(黑)。

  164. CF813F Bipartite Checking:线段树分治(黑)。

  165. CF814D An overnight dance in discotheque:小贪心(氵黑)(2000)。

  166. CF814E An unavoidable detour for home:\(\rm DP\)+计数(2600)。

  167. CF815D Karen and Cards:问题转化+扫描线(2800)。

  168. CF815E Karen and Neighborhood:二分(2900)。

  169. CF817F MEX Queries:线段树上二分(紫)。

  170. CF818G Four Melodies:费用流(2600)。

  171. CF819E Mister B and Flight to the Moon:归纳+构造(2800)。

  172. CF821E Okabe and El Psy Kongroo:矩乘优化\(\rm DP\)(紫)。

  173. CF822E Liar:\(\rm hash\) 优化\(\rm DP\)(紫)。

  174. CF825G Tree Queries:树(2500)。

  175. CF827D Best Edge Weight:树上小 \(\rm DS\) (2700)。

  176. CF827E Rusty String:字符匹配转 \(\rm FFT\) +思维(2700)。

  177. CF827F Dirty Arkady's Kitchen:图+\(\rm DP\) (3200)。

  178. CF830C Bamboo Partition:整除分块(紫)。

  179. CF830D Singer House:好 \(\rm DP\)(2800)。

  180. CF832C Strange Radiation:二分(氵黑)。

  181. CF833B The Bakery:线段树优化 \(\rm DP\)(紫)。

  182. CF833D Red-Black Cobweb:树上 \(Π_i Π_j (Π_{e \in path(i,j)} e_w)^{[\frac 1 2 \leq \frac{∑_{k\in path(i,j)}{\ \ \ \ \ \ \ [col_k==1]}}{∑_{k\in path(i,j)}{\ \ \ \ \ \ \ [col_k==0]}}\ \ \ \ \ \ \ \leq 2 ]}\)(2800)。

posted @ 2021-01-16 20:05  s1c  阅读(508)  评论(1)    收藏  举报