
《ACM程序设计》书中题目
文章平均质量分 69
G_Meteor
AKK
展开
-
《ACM程序设计》书中题目 H-08 火星ACM
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原创 2017-03-13 20:04:23 · 310 阅读 · 0 评论 -
《ACM程序设计》书中题目 J-10 2001 - A Space Odyssey
DescriptionYou 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 cre原创 2017-03-13 20:50:18 · 530 阅读 · 0 评论 -
《ACM程序设计》书中题目 K-11 build a wall
DescriptionLittle 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原创 2017-03-13 23:01:04 · 291 阅读 · 0 评论 -
《ACM程序设计》书中题目 B-02 FatMouse word
DescriptionWe 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 Specification原创 2017-03-14 11:06:24 · 427 阅读 · 0 评论 -
《ACM程序设计》书中题目 L-12 字符串倒置
DescriptionIn 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原创 2017-03-14 11:36:29 · 367 阅读 · 0 评论 -
《ACM程序设计》书中题目 M-13 arithmetic competency program
DescriptionAs 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原创 2017-03-14 18:20:35 · 671 阅读 · 0 评论 -
《ACM程序设计》书中题目 N-14 颠倒数字相加
DescriptionThe 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 trans原创 2017-03-14 20:26:38 · 414 阅读 · 0 评论 -
《ACM程序设计》书中题目 O-15 color of balloons
DescriptionContest 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原创 2017-03-14 22:01:53 · 563 阅读 · 0 评论 -
《ACM程序设计》书中题目 P - 16 FatMouse换食物
DescriptionFatMouse 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[原创 2017-03-16 12:17:52 · 839 阅读 · 0 评论 -
《ACM程序设计》书中题目 R - 18 半素数
DescriptionPrime 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 numb原创 2017-03-16 17:14:25 · 411 阅读 · 0 评论 -
《ACM程序设计》书中题目 S-19 Message queue
DescriptionMessage queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If something happens to this process, such as mouse click, text cha原创 2017-03-16 22:11:44 · 261 阅读 · 0 评论 -
《ACM程序设计》书中题目 T - 20 A的N次方近似于B
DescriptionGiven 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, e原创 2017-03-17 09:18:36 · 560 阅读 · 0 评论 -
《ACM程序设计》书中题目 U - 21 美丽数字
DescriptionMike 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 dividabl原创 2017-03-17 12:19:37 · 521 阅读 · 0 评论 -
《ACM程序设计》书中题目 V - 22 给书排序
DescriptionJim 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 na原创 2017-03-19 12:37:50 · 325 阅读 · 0 评论 -
《ACM程序设计》书中题目 W - 23 美丽草坪
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 an原创 2017-03-19 19:08:14 · 438 阅读 · 0 评论 -
《ACM程序设计》书中题目 X - 24 打电话
DescriptionGiven 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 911-原创 2017-03-19 20:02:13 · 529 阅读 · 0 评论 -
《ACM程序设计》书中题目 Y - 25 数字表述
DescriptionThe 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 b原创 2017-03-19 20:57:09 · 277 阅读 · 0 评论 -
《ACM程序设计》书中题目 Z - 26 名字缩写
DescriptionWhen 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 ar原创 2017-03-19 21:42:50 · 417 阅读 · 0 评论