2011年9月17日

Counting Game (Uva)

摘要: Counting GameThere are n people standing in a line, playing a famous game called ``counting". When the game begins, the leftmost person says ``1" loudly, then the second person (people are numbered 1 to n from left to right) says ``2" loudly. This is followed by the 3rd person saying 阅读全文

posted @ 2011-09-17 18:21 kuangbin 阅读(530) 评论(0) 推荐(0) 编辑

One-Two-Three (Uva)

摘要: One-Two-ThreeYour little brother has just learnt to write one, two and three, in English. He has written a lot of those words in a paper, your task is to recognize them. Note that your little brother is only a child, so he may make small mistakes: for each word, there might be at most one wrong lett 阅读全文

posted @ 2011-09-17 17:41 kuangbin 阅读(378) 评论(0) 推荐(0) 编辑

导航

JAVASCRIPT: