上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 56 下一页
摘要: Tree Ming and Hong are playing a simple game called nim game. They have nn piles of stones numbered 11 to nn ,the ii-th pile of stones has a_iai​ ston 阅读全文
posted @ 2019-08-01 16:56 ZERO- 阅读(339) 评论(1) 推荐(0)
摘要: Angel's Journey “Miyane!” This day Hana asks Miyako for help again. Hana plays the part of angel on the stage show of the cultural festival, and she i 阅读全文
posted @ 2019-08-01 16:13 ZERO- 阅读(325) 评论(0) 推荐(0)
摘要: Tasks It's too late now, but you still have too much work to do. There are nn tasks on your list. The ii-th task costs you t_iti​seconds. You want to 阅读全文
posted @ 2019-08-01 16:08 ZERO- 阅读(307) 评论(0) 推荐(0)
摘要: POJ 1741. Tree Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 34141 Accepted: 11420 Description Give a tree with n vertices,each edge has 阅读全文
posted @ 2019-08-01 16:03 ZERO- 阅读(313) 评论(0) 推荐(0)
摘要: 好久没写过博客了,这学期不是很有热情去写博客,写过的题也懒得写题解。现在来水一水博客,写一下若干年前的题目的题解。 Atlantis Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Tot 阅读全文
posted @ 2019-06-05 22:26 ZERO- 阅读(263) 评论(1) 推荐(0)
摘要: 水博客,水一水。 Horizontally Visible Segments Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 6290 Accepted: 2287 Description There is a number of 阅读全文
posted @ 2019-05-30 19:32 ZERO- 阅读(320) 评论(0) 推荐(0)
摘要: P3380 【模板】二逼平衡树(树套树) 题目描述 您需要写一种数据结构(可参考题目标题),来维护一个有序数列,其中需要提供以下操作: 查询k在区间内的排名 查询区间内排名为k的值 修改某一位值上的数值 查询k在区间内的前驱(前驱定义为严格小于x,且最大的数,若不存在输出-2147483647) 查 阅读全文
posted @ 2019-05-17 20:36 ZERO- 阅读(330) 评论(0) 推荐(0)
摘要: Max answer Alice has a magic array. She suggests that the value of a interval is equal to the sum of the values in the interval, multiplied by the sma 阅读全文
posted @ 2019-05-06 20:48 ZERO- 阅读(376) 评论(0) 推荐(0)
摘要: 4655 序列终结者 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 大师 Master 题解 4655 序列终结者 4655 序列终结者 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 大师 Master 时间限制: 1 s 空间限制: 128000 KB 题目 阅读全文
posted @ 2019-04-21 21:35 ZERO- 阅读(388) 评论(0) 推荐(0)
摘要: Distance on the tree DSM(Data Structure Master) once learned about tree when he was preparing for NOIP(National Olympiad in Informatics in Provinces) 阅读全文
posted @ 2019-04-21 20:46 ZERO- 阅读(400) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 56 下一页