10370 - Above Average

摘要: It is said that 90% of frosh expect to be above average in their class. You are to provide a reality check.The first line of standard input contains an integer C, the number of test cases. C data sets follow. Each data set begins with an integer, N, the number of people in the class (1 <= N <= 阅读全文
posted @ 2013-02-05 20:09 喂喂还债啦 阅读(470) 评论(0) 推荐(0)

10082 - WERTYU

摘要: A common typing error is to place the hands on the keyboard one row to the right of the correct position. So "Q" is typed as "W" and "J" is typed as "K" and so on. You are to decode a message typed in this manner.Input consists of several lines of text. Each l 阅读全文
posted @ 2013-02-05 15:51 喂喂还债啦 阅读(307) 评论(0) 推荐(0)

10222 - Decode the Mad man

摘要: The ProblemOnce in BUET, an old professor had gone completely mad. He started talking with some peculiar words. Nobody could realize his speech and lectures. Finally the BUET authority fall in great trouble. There was no way left to keep that man working in university. Suddenly a student (definitely 阅读全文
posted @ 2013-02-05 15:34 喂喂还债啦 阅读(922) 评论(0) 推荐(0)

913 - Joana and the Odd Numbers

摘要: Joana loves playing with odd numbers. In the other day, she started writing, in each line, an odd number of odd numbers. It looked as follows: 1 3 5 7 9 11 13 15 1719 21 23 25 27 29 31...On a certain line Joana wrote 55 odd numbers. Can you discover the sum of the last three numbers written in tha.. 阅读全文
posted @ 2013-02-05 10:22 喂喂还债啦 阅读(495) 评论(0) 推荐(0)

591 - Box of Bricks

摘要: Little Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. ``Look, I've built a wall!'', he tells his older sister Alice. ``Nah, you should make all stacks the same height. Then you would have a real wall.'', she re 阅读全文
posted @ 2013-02-05 09:52 喂喂还债啦 阅读(1778) 评论(0) 推荐(0)