- 博客(5)
- 收藏
- 关注
原创 codeforces 676C Vasya and String
Vasya and Stringtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputHigh school student Vasya got a string of length n as a
2016-05-27 00:43:03 824
原创 scauoj_11158 切水果
11158 切水果时间限制:1000MS 内存限制:65535K提交次数:638 通过次数:82 题型: 编程题 语言: G++;GCCDescription Lrc是校队里面的总所周知的全才王,他不仅是一个excelent acmer,也不仅是一个chess master,更是一个crazy game player。切水果,正是他最喜欢玩的手机游戏之一。为
2016-05-26 14:03:39 1144
原创 POJ 3278 Catch That Cow(DFS)
DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a pointN (0 ≤ N ≤ 100,000) on a number line and the cow is at a poin
2016-05-23 16:06:48 894
原创 51nod-1289-大鱼吃小鱼(栈的应用)
有N条鱼每条鱼的位置及大小均不同,他们沿着X轴游动,有的向左,有的向右。游动的速度是一样的,两条鱼相遇大鱼会吃掉小鱼。从左到右给出每条鱼的大小和游动的方向(0表示向左,1表示向右)。问足够长的时间之后,能剩下多少条鱼?Input第1行:1个数N,表示鱼的数量(1 <= N <= 100000)。第2 - N + 1行:每行两个数A[i], B[i],中间用空格分隔,分别表示鱼的大小及
2016-05-17 20:03:32 474
原创 poj 1159 Palindrome
PalindromeTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 44186 Accepted: 15050DescriptionA palindrome is a symmetrical string, that is, a string read ide
2016-05-10 22:08:41 640
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人