
+寒假刷题系列
文章平均质量分 80
hcbbt
这个作者很懒,什么都没留下…
展开
-
寒假刷题之8——侩子手游戏
Hangman Judge In ``Hangman Judge,'' you are to write a program that judges a series of Hangman games. For each game, the answer to the puzzle is given as well as the guesses. Rules are t原创 2013-02-04 15:56:23 · 1795 阅读 · 0 评论 -
寒假刷题之5——竹简文
Rotating SentencesIn ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degrees clockwise. So instead of displaying the input sentences from left to right and top to原创 2013-02-01 15:56:25 · 1590 阅读 · 0 评论 -
寒假刷题之1——以生态为名义的剥削
取这个名字just for fun,绝不是有反政府的意思哦。。。 原题为:Problem AEcological PremiumInput: standard inputOutput: standard outputTime Limit: 1 secondMemory Limit: 32 MBGerman farmers are given a premi原创 2013-01-29 10:38:03 · 1362 阅读 · 0 评论 -
寒假刷题之3——小朋友来数数
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 an原创 2013-01-29 13:03:54 · 1120 阅读 · 0 评论 -
寒假刷题之7——波纹
Triangle Wave In this problem you are to generate a triangular wave form according to a specified pair of Amplitude and Frequency.Input and OutputThe input begins with a single原创 2013-02-03 11:45:56 · 976 阅读 · 0 评论 -
寒假刷题之9——Collatz序列
The Collatz Sequence An algorithm given by Lothar Collatz produces sequences of integers, and is described as follows:Step 1:Choose an arbitrary positive integer A as the first item原创 2013-02-04 23:23:44 · 1113 阅读 · 0 评论 -
寒假刷题之10——细菌密度
Linear Cellular Automata A biologist is experimenting with DNA modification of bacterial colonies being grown in a linear array of culture dishes. By changing the DNA, he is able ``program"原创 2013-02-05 19:22:17 · 1643 阅读 · 0 评论 -
寒假刷题之4——机械化表面?
Machined Surfaces An imaging device furnishes digital images of two machined surfaces that eventually will be assembled in contact with each other. The roughness of this final contact is to be e原创 2013-01-30 23:30:49 · 1271 阅读 · 0 评论 -
寒假刷题之6——迷宫
Marvelous Mazes Your mission, if you decide to accept it, is to create a mazedrawing program. A maze will consist of the alphabeticcharacters A-Z, * (asterisk), and spaces.Input an原创 2013-02-01 17:46:22 · 919 阅读 · 0 评论 -
寒假后续刷题——回文与镜像文
呵呵,又继续刷题了,这次是字符串练习题。。。 Palindromes A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindro原创 2013-02-09 12:23:42 · 2314 阅读 · 0 评论 -
寒假刷题之2——Decoder
感觉上一篇的标题取得太夸张,太花哨,无实际内容。。。这篇就简单的用题目名字作为标题吧,我也挺喜欢的。 附上原题: The Decoder Write a complete program that will correctly decode a set of characters into a valid message.原创 2013-01-29 11:26:04 · 1172 阅读 · 0 评论