摘要:
Home on the RangeFarmer John grazes his cows on a large, square field N (2 <= N <= 250) miles on a side (because, for some reason, his cows will only graze on precisely square land segments). Regrettably, the cows have ravaged some of the land (always in 1 mile square increments). FJ needs to 阅读全文
posted @ 2012-09-15 15:25
mtry
阅读(366)
评论(0)
推荐(0)
摘要:
A GameIOI'96 - Day 1Consider the following two-player game played with a sequence of N positive integers (2 <= N <= 100) laid onto a game board. Player 1 starts the game. The players move alternately by selecting a number from either the left or the right end of the sequence. That number i 阅读全文
posted @ 2012-09-15 10:37
mtry
阅读(504)
评论(0)
推荐(0)