![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 80
于心有愧丶
这个作者很懒,什么都没留下…
展开
-
【HDU - 2795 Billboard】 线段树
E - Billboard At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place where all possible annou原创 2017-07-23 15:05:56 · 264 阅读 · 0 评论 -
【HDU - 3874 Necklace】 线段树
B - Necklace Mery has a beautiful necklace. The necklace is made up of N magic balls. Each ball has a beautiful value. The balls with the same beautiful value look the same, so if two or more原创 2017-07-24 14:36:28 · 266 阅读 · 0 评论 -
【SCU - 3596 Article Decryption】 字典树 + DP
I - Article Decryption Time Limit:1000ms Memory Limit:65536KB Description You are given an dictionary in which there are N words. Also, you are given an articl原创 2017-08-03 22:05:59 · 481 阅读 · 1 评论 -
【NBUT - 1597 Find MaxXorSum】 字典树
G - Find MaxXorSum Given n non-negative integers, you need to find two integers a and b that a xor b is maximum. xor is exclusive-or. InputInput starts with an integer T(T For each test case, th原创 2017-07-23 10:29:54 · 287 阅读 · 0 评论 -
【CodeForces - 777E Hanoi Factory】 贪心+栈
E - Hanoi Factory Of course you have heard the famous task about Hanoi Towers, but did you know that there is a special factory producing the rings for this wonderful game? Once upon a time,原创 2017-08-01 22:10:24 · 316 阅读 · 0 评论 -
【CodeForces - 754D Fedor and coupons】 贪心+优先队列
C - Fedor and coupons All our characters have hobbies. The same is true for Fedor. He enjoys shopping in the neighboring supermarket. The goods in the supermarket have unique integer ids. Al原创 2017-08-25 11:26:59 · 296 阅读 · 0 评论