模拟
文章平均质量分 70
觅己本心
这个作者很懒,什么都没留下…
展开
-
POJ1068题(s括号串可有两种表示,p和w)
Parencodings Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 24751 Accepted: 14559 DescriptionLet S = s1 s2…s2n be a well-formed string of parentheses. S can be encoded in two different原创 2017-03-23 23:03:19 · 454 阅读 · 0 评论 -
51nod大鱼吃小鱼问题
有N条鱼每条鱼的位置及大小均不同,他们沿着X轴游动,有的向左,有的向右。游动的速度是一样的,两条鱼相遇大鱼会吃掉小鱼。从左到右给出每条鱼的大小和游动的方向(0表示向左,1表示向右)。问足够长的时间之后,能剩下多少条鱼? Input 第1行:1个数N,表示鱼的数量(1 <= N <= 100000)。 第2 - N + 1行:每行两个数A[i], B[i],中间用空格分隔,分别表示鱼的大小及游动原创 2017-03-26 19:51:50 · 984 阅读 · 0 评论 -
模拟题字符串中元音辅音
Easier Done Than Said? Problem Description Password security is a tricky thing. Users prefer simple passwords that are easy to remember (like buddy), but such passwords are often insecure. Some si原创 2017-04-05 15:15:03 · 455 阅读 · 0 评论