Raphael_W

2013年5月1日 #

UVa 494 Kindergarten Counting Game

摘要: Kindergarten Counting GameEverybody sit down in a circle. Ok. Listen to me carefully.``Woooooo, you scwewy wabbit!''Now, could someone tell me how many words I just said?Input and OutputInput to your program will consist of a series of lines, each line containing multiple words (at least one 阅读全文

posted @ 2013-05-01 14:41 Raphael_W 阅读(146) 评论(0) 推荐(0) 编辑

UVa 458 The Decoder

摘要: The DecoderWrite a complete program that will correctly decode a set of characters into a valid message. Your program should read a given file of a simple coded set of characters and print the exact message that the characters contain. The code key for this simple coding is a one for one character s 阅读全文

posted @ 2013-05-01 14:15 Raphael_W 阅读(126) 评论(0) 推荐(0) 编辑

UVa 10300 Ecological Premium

摘要: Problem AEcological PremiumInput: standard inputOutput: standard outputTime Limit: 1 secondMemory Limit: 32 MBGerman farmers are given a premium depending on the conditions at their farmyard. Imagine the following simplified regulation: you know the size of each farmer's farmyard in square meter 阅读全文

posted @ 2013-05-01 13:50 Raphael_W 阅读(106) 评论(0) 推荐(0) 编辑

UVa 10071 Back to High School Physics

摘要: Problem BBack to High School PhysicsInput: standard inputOutput: standard outputA particle has initial velocity and constant acceleration. If its velocity after certain time is v then what will its displacement be in twice of that time?InputThe input will contain two integers in each line. Each line 阅读全文

posted @ 2013-05-01 00:55 Raphael_W 阅读(533) 评论(0) 推荐(0) 编辑

UVa 10055 Hashmat the Brave Warrior

摘要: Problem AHashmat the brave warrior Input: standard inputOutput: standard outputHashmat is a brave warrior who with his group of young soldiers moves from one place to another to fight against his opponents. Before fighting he just calculates one thing, the difference between his soldier number and t 阅读全文

posted @ 2013-05-01 00:26 Raphael_W 阅读(114) 评论(0) 推荐(0) 编辑

导航