上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: Description:Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this ... 阅读全文
posted @ 2015-09-27 11:44 搁浅の记忆 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Description:A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18... 阅读全文
posted @ 2015-09-27 10:19 搁浅の记忆 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Joe works in a maze. Unfortunately, portions of the maze havecaught on fire, and the owner of the maze neglected to create a fireescape plan. Help Joe... 阅读全文
posted @ 2015-09-26 10:54 搁浅の记忆 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Description:在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input:输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一... 阅读全文
posted @ 2015-09-25 23:24 搁浅の记忆 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1.线性表的顺序表示和实现(顺序表):#include#define MaxSize 100typedef int DataType;typedef struct //定义结构体Seqlist{ DataType list[MaxSize]; int size;} SeqList;//初... 阅读全文
posted @ 2015-09-25 15:38 搁浅の记忆 阅读(487) 评论(0) 推荐(0) 编辑
摘要: Description:You are given two pots, having the volume ofAandBliters respectively. The following operations can be performed:FILL(i) fill the poti(1 ≤i... 阅读全文
posted @ 2015-09-24 10:25 搁浅の记忆 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Description:大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S... 阅读全文
posted @ 2015-09-22 11:49 搁浅の记忆 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Description:Tram network in Zagreb consists of a number of intersections and rails connecting some of them. In every intersection there is a switch po... 阅读全文
posted @ 2015-09-18 12:47 搁浅の记忆 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Description:During the kindergarten days, flymouse was the monitor of his class. Occasionally the head-teacher brought the kids of flymouse’s class a ... 阅读全文
posted @ 2015-09-18 12:03 搁浅の记忆 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Description:In the age of television, not many people attend theater performances. Antique Comedians of Malidinesia are aware of this fact. They want ... 阅读全文
posted @ 2015-09-16 17:27 搁浅の记忆 阅读(156) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页