摘要: A train has a locomotive that pulls the train with its many passenger coaches. If the locomotive breaks down, there is no way to pull the train. There 阅读全文
posted @ 2017-01-26 14:09 DGSX 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 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!" 阅读全文
posted @ 2017-01-26 13:27 DGSX 阅读(155) 评论(0) 推荐(0) 编辑
摘要: There are N beads which of the same shape and size, but with different weights. N is an odd number and the beads are labeled as 1, 2, ..., N. Your tas 阅读全文
posted @ 2017-01-25 14:08 DGSX 阅读(147) 评论(0) 推荐(0) 编辑
摘要: The Happy Worm lives in an m*n rectangular field. There are k stones placed in certain locations of the field. (Each square of the field is either emp 阅读全文
posted @ 2017-01-25 13:27 DGSX 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 面对一个求某值的最大值或最小值的题目,若: 可以确定该值的上下限,判断某值是否可行的代价可以接受,并且在该值的上下限内以所求解为界将所有值分为可行和不可行两部分, 则可以使用对上下限内的值二分查找的方法获取答案。 阅读全文
posted @ 2017-01-22 20:24 DGSX 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Chun-Soo is playing a dice stacking game. Six faces of a die are squares of the same size; each face of a die has a number from 1 to 6. But, they are 阅读全文
posted @ 2017-01-22 20:18 DGSX 阅读(169) 评论(0) 推荐(0) 编辑
摘要: A software developing company has been assigned two programming projects. As both projects are within the same contract, both must be handed in at the 阅读全文
posted @ 2017-01-22 20:10 DGSX 阅读(224) 评论(0) 推荐(0) 编辑
摘要: There are n distinct points in the plane, given by their integer coordinates. Find the number of parallelograms whose vertices lie on these points. In 阅读全文
posted @ 2017-01-21 21:33 DGSX 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Produce a table of the values of the series Equation 1 for the 2001 values of x, x= 0.000, 0.001, 0.002, ..., 2.000. All entries of the table must hav 阅读全文
posted @ 2017-01-21 16:54 DGSX 阅读(372) 评论(0) 推荐(0) 编辑
摘要: Cryptography deals with methods of secret communication that transform a message (the plaintext) into a disguised form (the ciphertext) so that no one 阅读全文
posted @ 2017-01-21 16:10 DGSX 阅读(171) 评论(0) 推荐(0) 编辑