上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 41 下一页

UVALive 4034

摘要: Game of Life Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Status Practice UVALive 4034DescriptionLIFE is a evolutionary game played on a 2D game board. Initially, the game board is filled with white and black stones. For each iteration of the game, each stone is checked 阅读全文
posted @ 2012-07-26 09:21 江财小子 阅读(181) 评论(0) 推荐(0) 编辑

UVALive 4033

摘要: A - Miss Kitty and Her Little Ice Cream Shop Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Status Practice UVALive 4033DescriptionMiss Kitty graduated from University N that has a long history of training their students to become teachers in an island country T. All of he 阅读全文
posted @ 2012-07-26 09:19 江财小子 阅读(145) 评论(0) 推荐(0) 编辑

ZOJ 1244

摘要: ZOJ Problem Set - 1244Definite ValuesTime Limit: 2 Seconds Memory Limit: 65536 KBA common error in programming is to use variables that have not been initialized before. For example, in C and C++, all variables have an indefinite value after declaration - their value can be anything. Thus, the fo... 阅读全文
posted @ 2012-07-26 09:17 江财小子 阅读(191) 评论(0) 推荐(0) 编辑

hdu 2182 Frog

摘要: FrogTime Limit: 3000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 492Accepted Submission(s): 221Problem DescriptionA little frog named Fog is on his way home. The path's length is N (1 <= N <= 100), and there are many insects along the way. Suppose the 阅读全文
posted @ 2012-07-26 09:14 江财小子 阅读(285) 评论(0) 推荐(0) 编辑

POJ 3750 小孩报数问题

摘要: 小孩报数问题Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 7211Accepted: 3437Description有N个小孩围成一圈,给他们从1开始依次编号,现指定从第W个开始报数,报到第S个时,该小孩出列,然后从下一个小孩开始报数,仍是报到S个出列,如此重复下去,直到所有的小孩都出列(总人数不足S个时将循环报数),求小孩出列的顺序。Input第一行输入小孩的人数N(N<=64) 接下来每行输入一个小孩的名字(人名不超过15个字符)最后一行输入W,S (W < N),用逗号","间隔Outpu 阅读全文
posted @ 2012-07-26 09:11 江财小子 阅读(246) 评论(0) 推荐(0) 编辑

hdu 1787 GCD Again

摘要: GCD AgainTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1391Accepted Submission(s): 518Problem DescriptionDo you have spent some time to think and try to solve those unsolved problem after one ACM contest?No? Oh, you must do this when you want to 阅读全文
posted @ 2012-07-26 09:10 江财小子 阅读(258) 评论(0) 推荐(0) 编辑

hdu 1255 覆盖的面积

摘要: 覆盖的面积Time Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2218Accepted Submission(s): 1093Problem Description给定平面上若干矩形,求出被这些矩形覆盖过至少两次的区域的面积.Input输入数据的第一行是一个正整数T(1<=T<=100),代表测试数据的数量.每个测试数据的第一行是一个正整数N(1<=N&lt;=1000),代表矩形的数量,然后是N行数据,每一行包含四个浮 阅读全文
posted @ 2012-07-26 08:39 江财小子 阅读(209) 评论(0) 推荐(0) 编辑

HDU 3265 Posters

摘要: PostersTime Limit: 5000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2569Accepted Submission(s): 564Problem DescriptionTed has a new house with a huge window. In this big summer, Ted decides to decorate the window with some posters to prevent the glare outside. 阅读全文
posted @ 2012-07-25 09:41 江财小子 阅读(252) 评论(0) 推荐(0) 编辑

POJ 2777 Count Color

摘要: Count ColorTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 26788Accepted: 8003DescriptionChosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new problem. There is a very long board with length L centimeter, L is a 阅读全文
posted @ 2012-07-25 08:33 江财小子 阅读(124) 评论(0) 推荐(0) 编辑

POJ 1177 Picture

摘要: PictureTime Limit: 2000MSMemory Limit: 10000KTotal Submissions: 8215Accepted: 4347DescriptionA number of rectangular posters, photographs and other pictures of the same shape are pasted on a wall. Their sides are all vertical or horizontal. Each rectangle can be partially or totally covered by the o 阅读全文
posted @ 2012-07-24 14:51 江财小子 阅读(199) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 41 下一页