2013年3月1日

UVA11729 - Commando War

摘要: GCommando WarInput:Standard InputOutput:Standard Output“Waiting for orders we held in the wood, word from the front never cameBy evening the sound of the gunfire was miles awayAh softly we moved through the shadows, slip away through the treesCrossing their lines in the mists in the fields on our ha 阅读全文

posted @ 2013-03-01 21:57 仗剑奔走天涯 阅读(212) 评论(0) 推荐(0) 编辑

USACO3.3.5--A Game

摘要: 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 @ 2013-03-01 14:16 仗剑奔走天涯 阅读(233) 评论(0) 推荐(0) 编辑

导航