ZOJ ACM 初级题110题
文章平均质量分 81
wpfengqi
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ZOJ 2001 Adding Reversed Numbers
Adding Reversed Numbers Time Limit: 2 Seconds Memory Limit: 65536 KB The Antique Comedians of Malidinesia prefer comedies to tragedies. Unfortunately, most of the ancient plays are tragedie原创 2012-09-05 16:47:49 · 438 阅读 · 0 评论 -
ZOJ 1402 Magnificent Meatballs
Magnificent Meatballs Time Limit: 2 Seconds Memory Limit: 65536 KB Sam and Ella run a catering service. They like to put on a show when serving meatballs to guests seated at round tables. T原创 2012-08-24 12:01:22 · 328 阅读 · 0 评论 -
ZOJ 1394 Polar Explorer
Polar Explorer Time Limit: 2 Seconds Memory Limit: 65536 KB Introduction You are a intrepid 2-dimensional explorer located at the northern polar reaches of a distant 2-dimensional planet原创 2012-08-24 11:51:33 · 623 阅读 · 0 评论 -
ZOJ 1383 Binary Numbers
Binary Numbers Time Limit: 2 Seconds Memory Limit: 65536 KB Given a positive integer n, print out the positions of all 1's in its binary representation. The position of the least significan原创 2012-08-24 11:44:11 · 399 阅读 · 0 评论 -
ZOJ 1382 A Simple Task
A Simple Task Time Limit: 2 Seconds Memory Limit: 65536 KB Given a positive integer n and the odd integer o and the nonnegative integer p such that n = o2^p. Example For n = 24, o = 3原创 2012-08-24 11:35:28 · 760 阅读 · 0 评论 -
ZOJ 1365 Mileage Bank
Mileage Bank Time Limit: 2 Seconds Memory Limit: 65536 KB Mileage program of ACM (Airline of Charming Merlion) is really nice for the travelers flying frequently. Once you complete a flight原创 2012-08-24 11:30:31 · 419 阅读 · 0 评论 -
ZOJ 1514 Fake Tickets
Fake Tickets Time Limit: 2 Seconds Memory Limit: 65536 KB Your school organized a big party to celebrate your team brilliant win in the prestigious, worldfamous ICPC (International Collegia原创 2012-08-24 19:00:40 · 500 阅读 · 0 评论 -
ZOJ 1414 Number Steps
Number Steps Time Limit: 2 Seconds Memory Limit: 65536 KB Starting from point (0,0) on a plane, we have written all non-negative integers 0, 1, 2,... as shown in the figure. For example, 1,原创 2012-08-24 18:47:44 · 333 阅读 · 0 评论 -
ZOJ 1405 Tanning Salon
Tanning Salon Time Limit: 2 Seconds Memory Limit: 65536 KB Tan Your Hide, Inc., owns several coin-operated tanning salons. Research has shown that if a customer arrives and there are no bed原创 2012-08-24 18:33:31 · 380 阅读 · 0 评论 -
ZOJ 1334 Basically Speaking
Basically Speaking Time Limit: 2 Seconds Memory Limit: 65536 KB The Really Neato Calculator Company, Inc. has recently hired your team to help design their Super Neato Model I calculator. A原创 2012-08-24 09:00:08 · 642 阅读 · 0 评论 -
ZOJ 1331 Perfect Cubes
Perfect Cubes Time Limit: 10 Seconds Memory Limit: 32768 KB For hundreds of years Fermat's Last Theorem, which stated simply that for n > 2 there exist no integers a, b, c > 1 such that a^n原创 2012-08-24 08:55:38 · 379 阅读 · 0 评论 -
ZOJ 1251 Box of Bricks
Box of Bricks Time Limit: 2 Seconds Memory Limit: 65536 KB Little Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. ``Look原创 2012-08-23 18:57:32 · 366 阅读 · 0 评论 -
ZOJ 1113 u Calculate e
u Calculate e Time Limit: 2 Seconds Memory Limit: 65536 KB Background A simple mathematical formula for e is where n is allowed to go to infinity. This can actually yield very acc原创 2012-08-23 14:26:03 · 1280 阅读 · 0 评论 -
ZOJ 1110 Dick and Jane
Dick and Jane Time Limit: 2 Seconds Memory Limit: 65536 KB Dick is 12 years old. When we say this, we mean that it is at least twelve and not yet thirteen years since Dick was born. Dick a原创 2012-08-23 14:23:09 · 721 阅读 · 0 评论 -
ZOJ 1622 Switch
Switch Time Limit: 2 Seconds Memory Limit: 65536 KB There are N lights in a line. Given the states (on/off) of the lights, your task is to determine at least how many lights should be switc原创 2012-08-25 17:29:27 · 431 阅读 · 0 评论 -
ZOJ 1760 Doubles
Doubles Time Limit: 2 Seconds Memory Limit: 65536 KB As part of an arithmetic competency program, your students will be given randomly generated lists of from 2 to 15 unique positive intege原创 2012-08-25 18:51:01 · 369 阅读 · 0 评论 -
ZOJ 1730 Crazy Tea Party
Crazy Tea Party Time Limit: 2 Seconds Memory Limit: 65536 KB n participants of "crazy tea party" sit around the table. Each minute one pair of neighbors can change their places. Find the mi原创 2012-08-25 18:17:56 · 331 阅读 · 0 评论 -
ZOJ 1715 When Can We Meet?
When Can We Meet? Time Limit: 2 Seconds Memory Limit: 65536 KB The ICPC committee would like to have its meeting as soon as possible to address every little issue of the next contest. Howev原创 2012-08-25 17:48:23 · 453 阅读 · 0 评论 -
ZOJ 1712 Skew Binary
Skew Binary Time Limit: 2 Seconds Memory Limit: 65536 KB When a number is expressed in decimal, the kth digit represents a multiple of 10 k. (Digits are numbered from right to left, where t原创 2012-08-25 17:33:56 · 386 阅读 · 0 评论 -
ZOJ 2176 Speed Limit
Speed Limit Time Limit: 2 Seconds Memory Limit: 65536 KB Bill and Ted are taking a road trip. But the odometer in their car is broken, so they don't know how many miles they have driven. Fo原创 2012-09-05 17:39:35 · 511 阅读 · 0 评论 -
ZOJ 2186 Keep on Truckin'
Keep on Truckin' Time Limit: 2 Seconds Memory Limit: 65536 KB Boudreaux and Thibodeaux are on the road again . . . "Boudreaux, we have to get this shipment of mudbugs to Baton Rouge by ton原创 2012-09-05 17:46:03 · 604 阅读 · 0 评论 -
ZOJ 2172 Symmetric Order
Symmetric Order Time Limit: 2 Seconds Memory Limit: 65536 KB In your job at Albatross Circus Management (yes, it's run by a bunch of clowns), you have just finished writing a program whose原创 2012-09-05 17:27:59 · 1722 阅读 · 0 评论 -
ZOJ 2108 Elevator
Elevator Time Limit: 2 Seconds Memory Limit: 65536 KB The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which原创 2012-09-05 17:15:51 · 649 阅读 · 0 评论 -
ZOJ 2104 Let the Balloon Rise
Let the Balloon Rise Time Limit: 2 Seconds Memory Limit: 65536 KB Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time原创 2012-09-05 17:06:46 · 447 阅读 · 0 评论 -
ZOJ 2099 Frame Polygonal Line
Frame Polygonal Line Time Limit: 2 Seconds Memory Limit: 65536 KB You are going to read a sequence of pairs of integer numbers. Each pair represents the Cartesian coordinates of a point in原创 2012-09-05 16:59:48 · 449 阅读 · 0 评论 -
ZOJ 2022 Factorial
Factorial Time Limit: 2 Seconds Memory Limit: 65536 KB The most important part of a GSM network is so called Base Transceiver Station (BTS). These transceivers form the areas called cells (原创 2012-09-05 16:55:37 · 306 阅读 · 0 评论 -
ZOJ 1755 Clay Bully
Clay Bully Time Limit: 2 Seconds Memory Limit: 65536 KB Ms. Terry is a pre-school art teacher who likes to have her students work with clay. One of her assignments is to form a lump of clay原创 2012-08-25 18:35:52 · 401 阅读 · 0 评论 -
ZOJ 1713 Haiku Review
Haiku Review Time Limit: 2 Seconds Memory Limit: 65536 KB Haiku is an ancient form of Japanese poetry. A haiku is a three-line poem with seventeen syllables, where the first line must conta原创 2012-08-25 17:43:52 · 438 阅读 · 0 评论 -
ZOJ 1494 Climbing Worm
Climbing Worm Time Limit: 2 Seconds Memory Limit: 65536 KB An inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to rest a原创 2012-08-24 18:55:44 · 388 阅读 · 0 评论 -
ZOJ 1338 Up and Down Sequences
Up and Down Sequences Time Limit: 2 Seconds Memory Limit: 65536 KB The quality of pseudo random-number generators used in some computations, especially simulation, is a significant issue. P原创 2012-08-24 10:37:50 · 466 阅读 · 0 评论 -
ZOJ 1337 Pi
Pi Time Limit: 2 Seconds Memory Limit: 65536 KB Professor Robert A. J. Matthews of the Applied Mathematics and Computer Science Department at the University of Aston in Birmingham, England原创 2012-08-24 10:31:54 · 524 阅读 · 0 评论 -
ZOJ 1115 Digital Roots
Digital Roots Time Limit: 2 Seconds Memory Limit: 65536 KB Background The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a si原创 2012-08-23 14:31:55 · 233 阅读 · 0 评论 -
ZOJ 1001 A + B Problem
A + B Problem Time Limit: 2 Seconds Memory Limit: 65536 KB Calculate a + b Input The input will consist of a series of pairs of integers a and b,separated by a space, one pair of inte原创 2012-08-23 13:17:04 · 1200 阅读 · 0 评论 -
ZOJ 1049 I Think I Need a Houseboat
I Think I Need a Houseboat Time Limit: 2 Seconds Memory Limit: 65536 KB Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating原创 2012-08-23 13:53:04 · 335 阅读 · 0 评论 -
ZOJ 1048 Financial Management
Financial Management Time Limit: 2 Seconds Memory Limit: 65536 KB Larry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larr原创 2012-08-23 13:46:45 · 375 阅读 · 0 评论 -
ZOJ 1889 Ones
Ones Time Limit: 2 Seconds Memory Limit: 65536 KB Given any integer 0 <= n <= 10000 not divisible by 2 or 5, some multiple of n is a number which in decimal notation is a sequence of 1's. H原创 2012-08-30 22:10:46 · 633 阅读 · 0 评论 -
ZOJ 1871 Steps
Steps Time Limit: 2 Seconds Memory Limit: 65536 KB 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, o原创 2012-08-30 22:03:05 · 633 阅读 · 0 评论 -
ZOJ 1797 Least Common Multiple
Least Common Multiple Time Limit: 2 Seconds Memory Limit: 65536 KB The least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all t原创 2012-08-30 21:56:55 · 340 阅读 · 0 评论 -
ZOJ 1879 Jolly Jumpers
Jolly Jumpers Time Limit: 2 Seconds Memory Limit: 65536 KB A sequence of n > 0 integers is called a jolly jumper if the absolute values of the difference between successive elements take on原创 2012-08-30 22:07:29 · 435 阅读 · 0 评论 -
ZOJ 1813 Biker's Trip Odometer
Biker's Trip Odometer Time Limit: 2 Seconds Memory Limit: 65536 KB Most bicycle speedometers work by using a Hall Effect sensor fastened to the front fork of the bicycle. A magnet is attach原创 2012-08-30 22:00:16 · 714 阅读 · 0 评论
分享