随笔分类 - 数据结构
摘要:<center C. Replace To Make Regular Bracket Sequence</center 题目连接:http://www.codeforces.com/contest/612/problem/C DescriptionYou are given string s c...
阅读全文
摘要:<center C. Chain Reaction</center 题目连接:http://www.codeforces.com/contest/608/problem/C DescriptionThere are n beacons located at distinct positions ...
阅读全文
摘要:代码: struct Bit { vector<int a; int sz; void init(int n) { sz=n; for(int i=1;i<=n+5;i++) a.push_back(0); } int lowbit(int x) { return x&( x); } int qu...
阅读全文
摘要:TreeTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4757Description Zero and One are good friends who always have ...
阅读全文
摘要:Dynamic len(set(a[L:R]))Time Limit: 20 SecMemory Limit: 256 MB题目连接https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_prob...
阅读全文
摘要:E. Lomsat gelralTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/600/problem/EDescriptionYou are given a rooted tree with root ...
阅读全文
摘要:Weird AdvertisementTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id=18802Description2DPlaneLan...
阅读全文
摘要:``Dynamic'' InversionTime Limit: 20 SecMemory Limit: 256 MB题目连接https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem...
阅读全文
摘要:Dynamic RankingsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2112DescriptionThe Company Dyna...
阅读全文
摘要:Relief grainTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5029DescriptionThe soil is cracking up because of the ...
阅读全文
摘要:Another Longest Increasing Subsequence ProblemTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id...
阅读全文
摘要:High-level ancientsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/574DescriptionLove8909 is keen on the history of K...
阅读全文
摘要:C. Kleofáš and the n-thlonTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/601/problem/CDescriptionKleofáš is participating in ...
阅读全文
摘要:Can you answer these queries IITime Limit: 20 SecMemory Limit: 256 MB题目连接https://www.spoj.com/problems/GSS2/DescriptionBeing a completist and a simpli...
阅读全文
摘要:C. Day at the BeachTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/599/problem/CDescriptionOne day Squidward, Spongebob and Pa...
阅读全文
摘要:2733: [HNOI2012]永无乡Time Limit: 20 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=2733Description永无乡包含 n 座岛,编号从 1 到 n,每座岛都有...
阅读全文
摘要:D. Igor In the MuseumTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/598/problem/DDescriptionIgor is in the museum and he want...
阅读全文
摘要:C. SubsequencesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/597/problem/CDescriptionFor the given sequence with n different...
阅读全文
摘要:B. StripTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/487/problem/BDescriptionAlexandra has a paper strip with n numbers on ...
阅读全文

浙公网安备 33010602011771号