摘要:
食物链Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 28725Accepted: 8371Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。 有人用两种说法对这N个动物所构成的食物链关系进行描述: 第一种说法是"1 X Y",表示X和Y是同类。 第二种说法是"2 X Y",表示X吃Y。 此人对N个动物,用上述两种说法,一句接一句地 阅读全文
posted @ 2012-05-14 23:18
w0w0
阅读(196)
评论(0)
推荐(0)
摘要:
A Bug's LifeTime Limit: 10000MSMemory Limit: 65536KTotal Submissions: 20641Accepted: 6709DescriptionBackground Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different genders and that they only interact with bugs of the opposite g 阅读全文
posted @ 2012-05-14 21:41
w0w0
阅读(188)
评论(0)
推荐(0)
摘要:
Wireless NetworkTime Limit: 10000MSMemory Limit: 65536KTotal Submissions: 11639Accepted: 4953DescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, but an unexpected aftershock attacked, all computers in t 阅读全文
posted @ 2012-05-14 20:01
w0w0
阅读(170)
评论(0)
推荐(0)
摘要:
Cube StackingTime Limit: 2000MSMemory Limit: 30000KTotal Submissions: 13922Accepted: 4695Case Time Limit: 1000MSDescriptionFarmer John and Betsy are playing a game with N (1 <= N <= 30,000)identical cubes labeled 1 through N. They start with N stacks, each containing a single cube. Farmer John 阅读全文
posted @ 2012-05-14 16:49
w0w0
阅读(185)
评论(0)
推荐(0)
摘要:
Find them, Catch themTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 20728Accepted: 6126DescriptionThe police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and Gang Snake. However, the police first needs to identify 阅读全文
posted @ 2012-05-14 11:01
w0w0
阅读(157)
评论(0)
推荐(0)
浙公网安备 33010602011771号