摘要: 啊,是否疲倦了现在的线段树太弱,还递归!那我们就欢乐的学习另外一种神奇的线段树吧!(雾他叫做zkw线段树这个数据结构灰常好写(虽然线段树本身也特别好写……)速度快(貌似只在单点更新方面比线段树快……)是一种自底向上非递归版本的线段树!首先我们来看一个ppt,《统计的力量》这个是发明人的PPT(啊,p... 阅读全文
posted @ 2015-04-15 22:27 qscqesze 阅读(2392) 评论(2) 推荐(2) 编辑
摘要: C. Xor-treeTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/430/problem/CDescriptionIahub is very proud of his recent discovery,... 阅读全文
posted @ 2015-04-15 13:40 qscqesze 阅读(505) 评论(0) 推荐(0) 编辑
摘要: B. Balls GameTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/430/problem/BDescriptionIahub is training for the IOI. What is a b... 阅读全文
posted @ 2015-04-15 13:37 qscqesze 阅读(463) 评论(0) 推荐(0) 编辑
摘要: A. Points and Segments (easy)Time Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/430/problem/ADescriptionIahub isn't well prepared ... 阅读全文
posted @ 2015-04-15 13:33 qscqesze 阅读(352) 评论(0) 推荐(0) 编辑
摘要: Tavas and KarafsTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/536/problem/ADescriptionKarafs is some kind of vegetable in sha... 阅读全文
posted @ 2015-04-15 04:04 qscqesze 阅读(451) 评论(0) 推荐(0) 编辑
摘要: B. Tavas and SaDDasTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/535/problem/BDescriptionOnce again Tavas started eating coff... 阅读全文
posted @ 2015-04-15 03:59 qscqesze 阅读(553) 评论(4) 推荐(0) 编辑
摘要: A. Tavas and NafasTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/535/problem/ADescriptionToday Tavas got his test result as an... 阅读全文
posted @ 2015-04-15 03:56 qscqesze 阅读(404) 评论(0) 推荐(0) 编辑
摘要: E. Roland and RoseTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/problemset/problem/460/EDescriptionRoland loves growing flowers. He h... 阅读全文
posted @ 2015-04-15 00:00 qscqesze 阅读(330) 评论(0) 推荐(0) 编辑