![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
acm水题
TimEckel
救赎之道,就在其中
展开
-
《ACM程序设计》书中题目H
Description In the 22nd Century, scientists have discovered intelligent residents live on the Mars. Martians are very fond of mathematics. Every year, they would hold an Arithmetic Contest on Mars (原创 2017-03-21 10:45:09 · 541 阅读 · 0 评论 -
《ACM程序设计》书中题目O
Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges’ favorite time is guessing the most popular problem. When the contest is over, t原创 2017-03-15 16:35:12 · 488 阅读 · 0 评论 -
《ACM程序设计》书中题目U
Description Mike is very lucky, as he has two beautiful numbers, 3 and 5. But he is so greedy that he wants infinite beautiful numbers. So he declares that any positive number which is dividable by 3原创 2017-03-15 16:38:57 · 431 阅读 · 0 评论 -
《ACM程序设计》书中题目N
Description The Antique Comedians of Malidinesia prefer comedies to tragedies. Unfortunately, most of the ancient plays are tragedies. Therefore the dramatic advisor of ACM has decided to transfigure原创 2017-03-15 16:31:47 · 512 阅读 · 0 评论 -
《ACM程序设计》书中题目M
Description As part of an arithmetic competency program, your students will be given randomly generated lists of from 2 to 15 unique positive integers and asked to determine how many items in each lis原创 2017-03-15 16:27:43 · 413 阅读 · 0 评论 -
《ACM程序设计》书中题目 L
Description In most languages, text is written from left to right. However, there are other languages where text is read and written from right to left. As a first step towards a program that automati原创 2017-03-15 16:18:37 · 340 阅读 · 0 评论 -
《ACM程序设计》书中题目 K
.**Description 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 sister Alice.N原创 2017-03-15 16:12:21 · 386 阅读 · 0 评论 -
《ACM程序设计》书中题目 J
Description You may have heard of the book ‘2001 - A Space Odyssey’ by Arthur C. Clarke, or the film of the same name by Stanley Kubrick. In it a spaceship is sent from Earth to Saturn. The crew is p原创 2017-03-15 16:06:00 · 347 阅读 · 0 评论 -
《ACM程序设计》书中题目z
Description When a Little White meets another Little White:Little White A: (Surprised) ! Little White B: ? Little White A: You Little White know “SHDC”? So unbelievable! Little White B: You are lit原创 2017-03-21 20:47:36 · 317 阅读 · 0 评论 -
《ACM程序设计》书中题目Y
Description The look and say sequence is defined as follows. Start with any string of digits as the first element in the sequence. Each subsequent element is defined from the previous one by “verbally原创 2017-03-21 20:35:51 · 261 阅读 · 0 评论 -
《ACM程序设计》书中题目X
Description Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the phone catalogue listed these numbers:Emergency 911Alice 9原创 2017-03-21 20:15:40 · 357 阅读 · 0 评论 -
《ACM程序设计》书中题目W
DescriptionTom’s Meadow Tom has a meadow in his garden. He divides it into N * M squares. Initially all the squares were covered with grass. He mowed down the grass on some of the squares and thinks原创 2017-03-21 20:04:54 · 288 阅读 · 0 评论 -
《ACM程序设计》书中题目V
Description Jim is fond of reading books, and he has so many books that sometimes it’s hard for him to manage them. So he is asking for your help to solve this problem.Only interest in the name, press原创 2017-03-21 19:52:33 · 363 阅读 · 0 评论 -
《ACM程序设计》书中题目R
Description Prime Number Definition An integer greater than one is called a prime number if its only positive divisors (factors) are one and itself. For instance, 2, 11, 67, 89 are prime numbers but原创 2017-03-21 19:43:55 · 361 阅读 · 0 评论 -
《ACM程序设计》书中题目P
Description FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean. The warehouse has N rooms. The i-th room contains J[i]原创 2017-03-21 10:53:36 · 276 阅读 · 0 评论 -
《ACM程序设计》书中题目B
Description We all know that FatMouse doesn’t speak English. But now he has to be prepared since our nation will join WTO soon. Thanks to Turing we have computers to help him.Input SpecificationInput原创 2017-03-21 10:37:52 · 432 阅读 · 0 评论 -
《ACM程序设计》书中题目T
Description Given positive integers B and N, find an integer A such that AN is as close as possible to B. (The result A is an approximation to the Nth root of B.) Note that AN may be less than, equal原创 2017-03-15 16:44:52 · 376 阅读 · 0 评论