摘要: DescriptionA university network is composed of N computers. System administrators gathered information on the traffic between nodes, a... 阅读全文
posted @ 2015-05-06 12:56 Herumw 阅读(131) 评论(0) 推荐(0) 编辑
摘要: DescriptionSudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 smaller squares 3x3 as shown on the ... 阅读全文
posted @ 2015-05-06 10:47 Herumw 阅读(118) 评论(0) 推荐(0) 编辑
摘要: DescriptionYou are given two pots, having the volume of A and B liters respectively. The following operations can be performed:FILL(i)... 阅读全文
posted @ 2015-05-05 19:35 Herumw 阅读(108) 评论(0) 推荐(0) 编辑
摘要: DescriptionA common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting... 阅读全文
posted @ 2015-05-05 11:10 Herumw 阅读(52) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to... 阅读全文
posted @ 2015-05-04 15:58 Herumw 阅读(93) 评论(0) 推荐(0) 编辑
摘要: DescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains onl... 阅读全文
posted @ 2015-05-04 14:24 Herumw 阅读(109) 评论(0) 推荐(0) 编辑
摘要: DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N ... 阅读全文
posted @ 2015-05-04 07:39 Herumw 阅读(121) 评论(0) 推荐(0) 编辑
摘要: DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or m... 阅读全文
posted @ 2015-05-03 22:52 Herumw 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。 每组数据的第... 阅读全文
posted @ 2015-05-02 21:34 Herumw 阅读(131) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe cornfield maze is a popular Halloween treat. Visitors are shown the entrance and must wander through the maze facing zo... 阅读全文
posted @ 2015-05-02 14:02 Herumw 阅读(106) 评论(0) 推荐(0) 编辑