
VJ
文章平均质量分 82
CODE_BALL
SDUT 计院学生一球
展开
-
Marvelous Mazes
Your mission, if you decide to accept it, is to create a maze drawing program. A maze will consist of the alphabetic charactersA-Z, * (asterisk), and spaces. Input and OutputYour program will原创 2013-12-07 18:57:14 · 559 阅读 · 0 评论 -
第四次集训—— Factstone Benchmark
Problem B: Factstone BenchmarkAmtel has announced that it will release a 128-bit computer chip by 2010, a 256-bit computer by 2020, and so on, continuing its strategy of doubling the word-size eve原创 2013-12-26 20:29:16 · 597 阅读 · 0 评论 -
第四次集训—— Steps
Steps One steps through integer points of the straight line. The length of a step must be nonnegative and can be by one bigger than, equal to, or by one smaller than the length of the pr原创 2013-12-26 21:16:47 · 634 阅读 · 0 评论 -
Fibonacci Again
DescriptionThere are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2). InputInput consists of a sequence of lines, each containing an integer原创 2014-01-25 13:15:25 · 724 阅读 · 0 评论 -
Let the Balloon Rise
Let the Balloon RiseTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionContest time again! How excited it is to see balloons floating a原创 2014-01-27 15:19:03 · 531 阅读 · 0 评论 -
Edge
EdgeTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionFor products that are wrapped in small packings it is necessary that the she原创 2014-01-28 22:25:18 · 1185 阅读 · 0 评论 -
Uniform Generator
F - Uniform GeneratorTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionComputer simulations often require random numbers. One way to原创 2014-01-28 23:16:30 · 587 阅读 · 0 评论 -
Biker's Trip Odometer
DescriptionMost bicycle speedometers work by using a Hall Effect sensor fastened to the front fork of the bicycle. A magnet is attached to one of the spokes on the front wheel so that it will line原创 2014-01-29 21:54:26 · 544 阅读 · 0 评论 -
Number Sequence
DescriptionA number sequence is defined as follows: f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7. Given A, B, and n, you are to calculate the value of f(n).原创 2014-01-29 22:45:54 · 793 阅读 · 0 评论 -
Safecracker
Description=== Op tech briefing, 2002/11/02 06:42 CST === "The item is locked in a Klein safe behind a painting in the second-floor library. Klein safes are extremely rare; most of them, along w原创 2014-01-30 15:55:21 · 652 阅读 · 0 评论 -
Light Bulb
DescriptionCompared to wildleopard's wealthiness, his brother mildleopard is rather poor. His house is narrow and he has only one light bulb in his house. Every night, he is wandering in his inc原创 2014-03-16 01:05:07 · 578 阅读 · 0 评论 -
A Stack or A Queue?
A Stack or A Queue?Crawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatus Practice ZOJ 3210 Description原创 2014-03-17 00:31:34 · 788 阅读 · 0 评论 -
Second-price Auction
Second-price AuctionCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatus Practice ZOJ 3202 Description原创 2014-03-17 00:28:35 · 725 阅读 · 0 评论 -
第四次集训——The Land of Justice
Problem HThe Land of JusticeInput: standard inputOutput: standard outputTime Limit: 4 secondsIn the Land of Justice the selling price of everything is fixed all over the country. Nobody原创 2013-12-26 19:34:53 · 809 阅读 · 0 评论 -
The Snail
The Snail A snail is at the bottom of a 6-foot well and wants to climb to the top. The snail can climb 3 feet while the sun is up, but slides down 1 foot at night while sleeping. The sna原创 2013-12-26 00:51:14 · 630 阅读 · 0 评论 -
Rotating Sentences
In ``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 bottom, your program wil原创 2013-12-07 17:32:51 · 552 阅读 · 0 评论 -
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 in the sequence.Step 2:If A = 1 t原创 2013-12-07 17:34:57 · 723 阅读 · 0 评论 -
Machined Surfaces
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 t原创 2013-12-08 21:00:19 · 7098 阅读 · 0 评论 -
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 the same as the classic game原创 2013-12-08 20:52:29 · 551 阅读 · 0 评论 -
第二次训练 Palindromes
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 palindrome because it is the same when th原创 2013-12-10 21:20:32 · 573 阅读 · 0 评论 -
Kindergarten Counting Game
Everybody 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原创 2013-12-05 19:18:56 · 983 阅读 · 1 评论 -
第三次训练——Power of Cryptography
Power of Cryptography BackgroundCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers modulo functions of these primes. W原创 2013-12-17 23:53:39 · 679 阅读 · 0 评论 -
第三次训练——Secret Research
Secret Research At a certain laboratory results of secret research are thoroughly encrypted. A result of a single experiment is stored as an information of its completion:`posi原创 2013-12-17 23:56:06 · 674 阅读 · 0 评论 -
第三次训练 Box of Bricks
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原创 2013-12-17 23:49:03 · 623 阅读 · 0 评论 -
第三次训练——The ? 1 ? 2 ? ... ? n = k problem
The ? 1 ? 2 ? ... ? n = k problem The problemGiven the following formula, one can set operators '+' or '-' instead of each '?', in order to obtain a given k? 1 ? 2 ? ... ? n =原创 2013-12-18 23:32:55 · 719 阅读 · 0 评论 -
第三次训练——Problem A.Ant on a Chessboard
Problem A.Ant on a Chessboard Background One day, an ant called Alice came to an M*M chessboard. She wanted to go around all the grids. So she began to walk along the chessboard according to原创 2013-12-19 21:49:18 · 716 阅读 · 0 评论 -
第三次训练——Cube painting
Cube painting We have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the cube gets one of these colors. The cube's faces are原创 2013-12-21 17:27:25 · 964 阅读 · 0 评论 -
80ers' Memory
80ers' MemoryCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatus Practice ZOJ 3207 DescriptionI g原创 2014-03-17 00:29:49 · 893 阅读 · 0 评论