自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

江枭的专栏

努力中,希望在ACM路上走好。

  • 博客(70)
  • 收藏
  • 关注

原创 ZOJ1295 Reverse Text

Reverse TextTime Limit: 2 Seconds      Memory Limit: 65536 KBIn most languages, text is written from left to right. However, there are other languages where text is read and written from right

2013-08-17 21:51:54 737 1

原创 ZOJ1048 Financial Management

Financial ManagementTime Limit: 2 Seconds      Memory Limit: 65536 KBLarry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. La

2013-08-17 21:49:36 691

原创 ZOJ1001 A + B Problem

A + B ProblemTime Limit: 2 Seconds      Memory Limit: 65536 KBCalculate a + bInputThe input will consist of a series of pairs of integers a and b,separated by a space, one pair of inte

2013-08-17 21:46:25 625

原创 UVa11995 I Can Guess the Data Structure!

Problem II Can Guess the Data Structure!There is a bag-like data structure, supporting two operations:1 xThrow an element x into the bag.2Take out an element from the bag.Given a seq

2013-08-17 21:42:47 717

原创 UVa10878 Decode the tape

Problem ADecode the tapeTime Limit: 1 second"Machines take me by surprise with great frequency."Alan TuringYour boss has just unearthed a roll of old computer tapes. The tape

2013-08-17 21:36:09 796

原创 UVa10361 Automatic Poetry

Problem IAutomatic PoetryInput: standard inputOutput: standard outputTime Limit: 2 secondsMemory Limit: 32 MB “Oh God”, Lara Croft exclaims, “it’s one of these dumb riddles again!”

2013-08-17 21:27:50 584

原创 UVa10115 Automatic Editing

Problem E: Automatic EditingSource file:autoedit.{c, cpp, java, pas}Input file:autoedit.inOutput file:autoedit.outText-processing tools like awk and sed allow y

2013-08-17 21:19:54 594

原创 UVa10106 Product

Product The ProblemThe problem is to multiply two integers X, Y. (0250)The InputThe input will consist of a set of pairs of lines. Each line in pair contains one multiplyer.The

2013-08-17 21:12:06 597

原创 UVa10010 Where's Waldorf?

Where's Waldorf? Given a m by n grid of letters, ( ), and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o

2013-08-17 21:06:57 986

原创 UVa644 Immediate Decodability

Immediate Decodability An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assume for this p

2013-08-17 21:02:17 607

原创 UVa537 Artificial Intelligence?

Artificial Intelligence? Physics teachers in high school often think that problems given as text are more demanding than pure computations. After all, the pupils have to read and underst

2013-08-17 20:50:09 705

原创 UVa465 Overflow

Overflow Write a program that reads an expression consisting of two non-negative integer and an operator. Determine if either integer or the result of the expression is too large to be r

2013-08-17 20:45:06 821

原创 UVa424 Integer Inquiry

Integer Inquiry One of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 333 and he explored taking various sums of t

2013-08-17 20:30:32 647

原创 UVa409 Excuses, Excuses!

Excuses, Excuses! Judge Ito is having a problem with people subpoenaed for jury duty giving rather lame excuses in order to avoid serving. In order to reduce the amount of time required

2013-08-17 20:24:39 558

原创 UVa401 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 t

2013-08-17 20:14:39 634

原创 UVa10300 Ecological Premium

Problem AEcological PremiumInput: standard inputOutput: standard outputTime Limit: 1 secondMemory Limit: 32 MBGerman farmers are given a premium depending onthe conditions at their farmyar

2013-08-07 09:20:43 789

原创 UVa10071 Back to High School Physics

Problem BBack to High School PhysicsInput: standard inputOutput: standard output A particle has initial velocity and constant acceleration. Ifits velocity after certain time is v then what w

2013-08-07 09:17:34 637

原创 UVa494 Kindergarten Counting Game

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

2013-08-07 09:12:28 545

原创 UVa490 Rotating Sentences

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 t

2013-08-07 09:05:53 691

原创 UVa489 Hangman Judge

Hangman Judge In ``Hangman Judge,'' you are to write a program that judges a series of Hangman games. Foreach game, the answer to the puzzle is given as well as the guesses. Rules are the

2013-08-07 08:58:53 536

原创 UVa488 Triangle Wave

Triangle Wave In this problem you are to generate a triangular wave form according to a specified pair ofAmplitude and Frequency.Input and OutputThe input begins with a single positive i

2013-08-07 08:49:42 948

原创 UVa458 The Decoder

The Decoder Write a complete program that will correctly decode a set ofcharacters into a valid message. Your program shouldread a given file of a simple coded set of characters and print

2013-08-07 08:45:21 637

原创 UVa694 The Collatz Sequence

The Collatz Sequence An algorithm given by Lothar Collatz produces sequences of integers, and isdescribed as follows:Step 1:Choose an arbitrary positive integer A as the first item int

2013-08-06 22:03:42 685

原创 UVa457 Linear Cellular Automata

Linear Cellular Automata A biologist is experimenting with DNA modification ofbacterial colonies being grown in a linear array of culture dishes. Bychanging the DNA, he is able ``program" th

2013-08-06 21:57:10 591

原创 UVa414 Machined Surfaces

Machined Surfaces An imaging device furnishes digital images of two machined surfaces thateventually will be assembled incontact with each other. The roughness of this final contact is t

2013-08-06 21:40:16 3857

原创 UVa10055 Hashmat the Brave Warrior

Problem AHashmat the brave warriorInput: standard inputOutput: standard output Hashmat is a brave warrior whowith his group of young soldiers moves from one place to another to fightagains

2013-08-06 21:34:07 674

原创 UVa10879 Code Refactoring

Problem BCode RefactoringTime Limit: 2 seconds"Harry, my dream is a code waiting to bebroken. Break the code, solve the crime."Agent CooperSeveral algorithms in modern crypto

2013-08-05 19:08:43 565

原创 UVa10815 Andy's First Dictionary

ProblemB: Andy's First DictionaryTimelimit: 3 secondsAndy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of word

2013-08-05 19:04:24 706

原创 UVa10785 The Mad Numerologist

The Mad Numerologist Numerology is a science that is used by many people to findout a mans personality, sole purpose of life, desires to experience etc. Somecalculations of numerology are

2013-08-05 18:59:59 595

原创 UVa10420 List of Conquests

Problem BList of ConquestsInput:standardinputOutput: standard outputTime Limit: 2 secondsIn Act I, Leporello is tellingDonna Elvira about his master's long list of conquests:``This is th

2013-08-05 16:55:31 732

原创 UVa10392 Factoring Large Numbers

Problem F: Factoring Large NumbersOne of the central ideas behind much cryptography is that factoringlarge numbers is computationally intensive. In this context one mightuse a 100 digit number that

2013-08-05 16:49:54 635

原创 UVa10194 Football (aka Soccer)

Problem A: Football (aka Soccer) The ProblemFootball the most popular sport in the world (americans insist to call it "Soccer",but we will call it "Football"). As everyone knows, Brasi

2013-08-05 16:40:41 658

原创 UVa10110 Light, more light

Light,more lightThe ProblemThere is man named "mabu" for switching on-off light in our University.He switches on-off the lights in a corridor. Every bulb has its own toggle switch. That is

2013-08-05 16:18:25 985

原创 UVa10061 How many zeros and how many digits?

Problem GHow many zeros and how many digits?Input: standard inputOutput: standard outputGiven a decimal integer number you willhave to find out how many trailing zeros will be there in its

2013-08-05 16:05:31 1014

原创 UVa10034 Freckles

Problem A: FrecklesIn an episode of the Dick Van Dyke show, little Richie connects the freckleson his Dad's back to form a picture of the Liberty Bell. Alas, one of thefreckles turns out to be a s

2013-08-05 15:40:44 893

原创 UVa755 487-3279

487-3279 Businesses like to have memorable telephone numbers. One way to make a telephone number memorableis to have it spell a memorable word or phrase. For example, you can call the Univ

2013-08-05 11:28:37 717

原创 UVa568 Just the Facts

Just the Facts The expression N!, read as ``N factorial," denotes the product of the firstN positive integers, whereN is nonnegative. So, for example,NN!011

2013-08-05 11:09:31 674

原创 UVa550 Multiplying by Rotation

Multiplying by Rotation Warning: Not all numbers in this problem are decimal numbers!Multiplication of natural numbers in general is a cumbersome operation. In somecases however the

2013-08-05 11:01:18 613

原创 UVa299 Train Swapping

Train Swapping At an old railway station, you may still encounter one of the lastremaining ``train swappers''. A train swapper is an employee ofthe railroad, whose sole job it is to rearra

2013-08-05 10:01:09 549

原创 UVa156 Ananagrams

Ananagrams Most crossword puzzle fans are used to anagrams--groupsof words with the same letters in different orders--for exampleOPTS, SPOT, STOP, POTS and POST. Some words however do not

2013-08-05 09:18:19 725

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除