上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 39 下一页
摘要: DescriptionAmr loves Geometry. One day he came up with a very interesting problem.Amr has a circle of radiusrand center in point(x, y). He wants the c... 阅读全文
posted @ 2015-03-26 17:33 Painting、时光 阅读(126) 评论(0) 推荐(0) 编辑
摘要: DescriptionA palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write... 阅读全文
posted @ 2015-03-26 14:50 Painting、时光 阅读(165) 评论(0) 推荐(0) 编辑
摘要: DescriptionIt is well known that a human gene can be considered as a sequence, consisting of four nucleotides, which are simply denoted by four letter... 阅读全文
posted @ 2015-03-26 13:55 Painting、时光 阅读(142) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a standa... 阅读全文
posted @ 2015-03-25 17:14 Painting、时光 阅读(112) 评论(0) 推荐(0) 编辑
摘要: DescriptionA numeric sequence ofaiis ordered ifa1#include#includeusing namespace std;const int MAX = 11000;int a[MAX],b[MAX];int main(){ int n; ... 阅读全文
posted @ 2015-03-25 16:32 Painting、时光 阅读(136) 评论(0) 推荐(0) 编辑
摘要: DescriptionIn Pearlania everybody is fond of pearls. One company, called The Royal Pearl, produces a lot of jewelry with pearls in it. The Royal Pearl... 阅读全文
posted @ 2015-03-25 16:10 Painting、时光 阅读(113) 评论(0) 推荐(0) 编辑
摘要: DescriptionIn the army, a platoon is composed by n soldiers. During the morning inspection, the soldiers are aligned in a straight line in front of th... 阅读全文
posted @ 2015-03-25 15:25 Painting、时光 阅读(116) 评论(0) 推荐(0) 编辑
摘要: DescriptionFew know that the cows have their own dictionary withW(1 ≤W≤ 600) words, each containing no more 25 of the characters 'a'..'z'. Their cowmu... 阅读全文
posted @ 2015-03-24 20:27 Painting、时光 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空... 阅读全文
posted @ 2015-03-24 18:58 Painting、时光 阅读(181) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionAfter enjoying the movie,LeLe went home alone. LeLe decided to build blocks. LeLe has already builtnpiles. He wants to move some bl... 阅读全文
posted @ 2015-03-24 18:24 Painting、时光 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 39 下一页