摘要:
Problem DescriptionLike everyone, cows enjoy variety. Their current fancy is new shapes for pastures. The old rectangular shapes are out of favor; new... 阅读全文
posted @ 2015-08-14 20:07
UniqueColor
阅读(256)
评论(0)
推荐(0)
摘要:
Problem DescriptionShaolin temple is very famous for its Kongfu monks.A lot of young men go to Shaolin temple every year, trying to be a monk there. T... 阅读全文
posted @ 2015-08-14 19:27
UniqueColor
阅读(186)
评论(0)
推荐(0)
摘要:
Problem Description圆桌上围坐着2n个人。其中n个人是好人,另外n个人是坏人。如果从第一个人开始数数,数到第m个人,则立即处死该人;然后从被处死的人之后开始数数,再将数到的第m个人处死……依此方法不断处死围坐在圆桌上的人。试问预先应如何安排这些好人与坏人的座位,能使得在处死n个人之... 阅读全文
posted @ 2015-08-14 16:33
UniqueColor
阅读(952)
评论(0)
推荐(0)
摘要:
Problem DescriptionZero Escape, is a visual novel adventure video game directed by Kotaro Uchikoshi (you may hear about ever17?) and developed by Chun... 阅读全文
posted @ 2015-08-14 16:01
UniqueColor
阅读(308)
评论(0)
推荐(0)
摘要:
Problem DescriptionWe all love recursion! Don't we?Consider a three-parameter recursive function w(a, b, c):if a 20 or b > 20 or c > 20, then w(a, b,... 阅读全文
posted @ 2015-08-14 15:50
UniqueColor
阅读(203)
评论(0)
推荐(0)
摘要:
FatMouse and CheeseProblem DescriptionFatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid... 阅读全文
posted @ 2015-08-14 15:08
UniqueColor
阅读(269)
评论(0)
推荐(0)