随笔分类 -  数据结构 线段树

摘要:E. Editor The development of a text editor is a hard problem. You need to implement an extra module for brackets coloring in text. Your editor consist 阅读全文
posted @ 2019-11-30 11:38 qscqesze 阅读(696) 评论(0) 推荐(1) 编辑
摘要:题目 4990: [Usaco2017 Feb]Why Did the Cow Cross the Road II 链接 http://www.lydsy.com/JudgeOnline/problem.php?id=4990 题面 上下有两个长度为n、位置对应的序列A、B, 其中数的范围均为1~n 阅读全文
posted @ 2017-08-29 15:55 qscqesze 阅读(596) 评论(0) 推荐(0) 编辑
摘要:B. Legacy 题目连接: http://codeforces.com/contest/786/problem/B Description Rick and his co workers have made a new radioactive formula and a lot of bad g 阅读全文
posted @ 2017-03-31 15:06 qscqesze 阅读(925) 评论(5) 推荐(2) 编辑
摘要:F. Souvenirs 题目连接: http://codeforces.com/contest/765/problem/F Description Artsem is on vacation and wants to buy souvenirs for his two teammates. The 阅读全文
posted @ 2017-02-16 13:30 qscqesze 阅读(515) 评论(0) 推荐(1) 编辑
摘要:C. Drazil and Park 题目连接: http://codeforces.com/contest/516/problem/C Description Drazil is a monkey. He lives in a circular park. There are n trees ar 阅读全文
posted @ 2016-11-07 20:50 qscqesze 阅读(499) 评论(0) 推荐(0) 编辑
摘要:Block Art 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/block art Description The NeoCubist artistic movement has a very 阅读全文
posted @ 2016-10-14 00:28 qscqesze 阅读(507) 评论(0) 推荐(0) 编辑
摘要:E. Sasha and Array 题目连接: http://codeforces.com/contest/719/problem/E Description Sasha has an array of integers a1, a2, ..., an. You have to perform m 阅读全文
posted @ 2016-09-24 09:58 qscqesze 阅读(567) 评论(0) 推荐(1) 编辑
摘要:E. Memory and Casinos 题目连接: http://codeforces.com/contest/712/problem/E Description There are n casinos lined in a row. If Memory plays at casino i, h 阅读全文
posted @ 2016-09-13 12:43 qscqesze 阅读(707) 评论(1) 推荐(1) 编辑
摘要:E. A Simple Task 题目连接: http://www.codeforces.com/contest/558/problem/E Description This task is very simple. Given a string S of length n and q querie 阅读全文
posted @ 2016-08-17 23:22 qscqesze 阅读(595) 评论(1) 推荐(0) 编辑
摘要:Rikka with Sequence 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5828 Description As we know, Rikka is poor at math. Yuta is worrying about this si 阅读全文
posted @ 2016-08-11 23:18 qscqesze 阅读(685) 评论(2) 推荐(0) 编辑
摘要:Rikka with Parenthesis II 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5831 Description As we know, Rikka is poor at math. Yuta is worrying about t 阅读全文
posted @ 2016-08-11 22:51 qscqesze 阅读(412) 评论(1) 推荐(0) 编辑
摘要:The All purpose Zero 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5773 Description ?? gets an sequence S with n intergers(0 define rep(a,b,c) for(i 阅读全文
posted @ 2016-07-28 18:50 qscqesze 阅读(497) 评论(0) 推荐(0) 编辑
摘要:D. Developing Game 题目连接: http://www.codeforces.com/contest/377/problem/D Description Pavel is going to make a game of his dream. However, he knows tha 阅读全文
posted @ 2016-05-30 11:34 qscqesze 阅读(422) 评论(0) 推荐(0) 编辑
摘要:B. Preparing for the Contest 题目连接: http://codeforces.com/contest/377/problem/B Description Soon there will be held the world's largest programming con 阅读全文
posted @ 2016-05-30 09:20 qscqesze 阅读(319) 评论(0) 推荐(0) 编辑
摘要:区间交 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5700 Description 小A有一个含有n个非负整数的数列与m个区间。每个区间可以表示为li,ri。 它想选择其中k个区间, 使得这些区间的交的那些位置所对应的数的和最大。 例如样例中,选 阅读全文
posted @ 2016-05-24 10:30 qscqesze 阅读(513) 评论(0) 推荐(0) 编辑
摘要:Snacks 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5692 Description 百度科技园内有n个零食机,零食机之间通过n−1条路相互连通。每个零食机都有一个值v,表示为小度熊提供零食的价值。 由于零食被频繁的消耗和补充,零食机的价值v 阅读全文
posted @ 2016-05-22 08:56 qscqesze 阅读(424) 评论(0) 推荐(0) 编辑
摘要:E. Trains and Statistic 题目连接: http://www.codeforces.com/contest/675/problem/E Description Vasya commutes by train every day. There are n train station 阅读全文
posted @ 2016-05-17 23:18 qscqesze 阅读(404) 评论(0) 推荐(0) 编辑
摘要:1299 : 打折机票 题目连接: http://hihocoder.com/problemset/problem/1299 Description 因为思念新宿的"小姐姐"们,岛娘计划6月份再去一趟东京,不过这次看来她需要自掏腰包。经过了几天的夜战,岛娘终于在体力耗尽之前,用Python抓下了所有 阅读全文
posted @ 2016-05-06 21:47 qscqesze 阅读(243) 评论(0) 推荐(0) 编辑
摘要:4408: [Fjoi 2016]神秘数 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4408 Description 一个可重复数字集合S的神秘数定义为最小的不能被S的子集的和表示的正整数。例如S={1,1,1,4,13}, 1 = 阅读全文
posted @ 2016-05-04 15:05 qscqesze 阅读(446) 评论(0) 推荐(1) 编辑
摘要:卿学姐种花 题目连接: http://acm.uestc.edu.cn/ /problem/show/1292 Description 众所周知,在喵哈哈村,有一个温柔善良的卿学姐。 卿学姐喜欢和她一样美丽的花。所以卿学姐家的后院有很多的花坛。 卿学姐有n个花坛,一开始第i个花坛里有$A[i 阅读全文
posted @ 2016-03-24 19:51 qscqesze 阅读(1415) 评论(3) 推荐(3) 编辑

点击右上角即可分享
微信分享提示