随笔分类 - 数据结构 STL
摘要:C. Tournament link http://codeforces.com/contest/878/problem/C description Recently a tournament in k kinds of sports has begun in Berland. Vasya want
阅读全文
摘要:E. Correct Bracket Sequence Editor 题目连接: http://www.codeforces.com/contest/670/problem/E Description Recently Polycarp started to develop a text edito
阅读全文
摘要:1515 明辨是非 题目连接: https://www.51nod.com/onlineJudge/questionCode.html !problemId=1515 Description 给n组操作,每组操作形式为x y p。 当p为1时,如果第x变量和第y个变量可以相等,则输出YES,并限制他
阅读全文
摘要:4419: [Shoi2013]发微博 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4419 Description 刚开通的SH微博共有n个用户(1..n标号),在短短一个月的时间内,用户们活动频繁,共有m条按时间顺序的记录: ! x
阅读全文
摘要:E. Bear and Forgotten Tree 2 题目连接: http://www.codeforces.com/contest/653/problem/E Description A tree is a connected undirected graph consisting of n
阅读全文
摘要:C. Hostname Aliases 题目连接: http://www.codeforces.com/contest/644/problem/C Description There are some websites that are accessible through several diff
阅读全文
摘要:MC挖矿世界 题目连接: http://acm.uestc.edu.cn/ /problem/show/1287 Description 银牌爷和柱神开始玩MC啦,但是怪物实在是太多了,于是银牌爷决定去挖点钻石提升装备。 来到矿脉的银牌爷发现矿脉错综复杂。 矿脉是由一些矿洞和一些通道组成的,通道连着
阅读全文
摘要:苦恼的郭大侠 题目连接: http://acm.uestc.edu.cn/ /problem/show/1284 Description 花开雷霆崖,血染伊吕波。 公元1772年。 郭大侠终于照着天行廖的叮嘱,摆出了阵型,准备带着部队与天行廖相逢于雷霆崖。 但郭大侠实在是没有把握,这个阵型是真的如天
阅读全文
摘要:E. Frog Fights 题目连接: http://www.codeforces.com/contest/625/problem/E Description stap Bender recently visited frog farm and was inspired to create his
阅读全文
摘要:<center C. Chain Reaction</center 题目连接:http://www.codeforces.com/contest/608/problem/C DescriptionThere are n beacons located at distinct positions ...
阅读全文
摘要:Clarke and puzzleTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://hihocoder.com/contest/acmicpc2015beijingonline/problem/10DescriptionKyle is a studen...
阅读全文
摘要:E -GophersTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hust.edu.cn/vjudge/contest/view.action?cid=87794#problem/EDescriptionDick Dastardly wan...
阅读全文
摘要:C. ReplacementTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/570/problem/CDescriptionDaniel has a strings, consisting of lowe...
阅读全文
摘要:Problem J. TriatripTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100342/attachmentsDescriptionThe travel agency “Four Russians” ...
阅读全文
摘要:D. One-Dimensional Battle ShipsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/567/problem/DDescriptionAlice and Bob love play...
阅读全文
摘要:C. Geometric ProgressionTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/567/problem/CDescriptionPolycarp loves geometric progr...
阅读全文
摘要:C. Little Elephant and ShiftsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/problemset/problem/220/CDescriptionThe Little Elephant ha...
阅读全文
摘要:B. Sereja and SuffixesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/problemset/problem/368/BDescriptionSereja has an array a, consis...
阅读全文
摘要:C. Arthur and TableTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/557/problem/CDescriptionArthur has bought a beautiful big t...
阅读全文