上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 87 下一页
摘要: https://vjudge.net/contest/67836#problem/E A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separa 阅读全文
posted @ 2018-08-24 12:15 丧心病狂工科女 阅读(298) 评论(0) 推荐(0) 编辑
摘要: https://vjudge.net/contest/67836#problem/C The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the 阅读全文
posted @ 2018-08-24 11:14 丧心病狂工科女 阅读(185) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2544 Problem Description 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常累的!所以现在他们想要寻找最 阅读全文
posted @ 2018-08-24 10:23 丧心病狂工科女 阅读(108) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805348915855360 The "eight queens puzzle" is the problem of placing eight chess queens o 阅读全文
posted @ 2018-08-24 10:16 丧心病狂工科女 阅读(347) 评论(0) 推荐(0) 编辑
摘要: https://vjudge.net/contest/67836#problem/R 用1,2,...,n表示n个盘子,称为1号盘,2号盘,...。号数大盘子就大。经典的汉诺塔问 题经常作为一个递归的经典例题存在。可能有人并不知道汉诺塔问题的典故。汉诺塔来源于 印度传说的一个故事,上帝创造世界时作了 阅读全文
posted @ 2018-08-20 10:39 丧心病狂工科女 阅读(269) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805046380707840/problems/994805091888906240 中国的古人写文字,是从右向左竖向排版的。本题就请你编写程序,把一段文字按古风排版。 输入格式: 输入在第一行给出一个正整数N(<100),是每一 阅读全文
posted @ 2018-08-18 21:51 丧心病狂工科女 阅读(338) 评论(0) 推荐(1) 编辑
摘要: https://pintia.cn/problem-sets/994805046380707840/problems/994805054698012672 古人云:秀恩爱,分得快。 互联网上每天都有大量人发布大量照片,我们通过分析这些照片,可以分析人与人之间的亲密度。如果一张照片上出现了 K 个人, 阅读全文
posted @ 2018-08-18 21:35 丧心病狂工科女 阅读(528) 评论(0) 推荐(0) 编辑
摘要: https://vjudge.net/contest/67836#problem/A There are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2) InputInput 阅读全文
posted @ 2018-08-12 22:14 丧心病狂工科女 阅读(107) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2079 Problem Description 又到了选课的时间了,xhd看着选课表发呆,为了想让下一学期好过点,他想知道学n个学分共有多少组合。你来帮帮他吧。(xhd认为一样学分的课没区别) Input 输入数据 阅读全文
posted @ 2018-08-12 22:09 丧心病狂工科女 阅读(207) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1016 Problem Description A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n 阅读全文
posted @ 2018-08-12 22:04 丧心病狂工科女 阅读(113) 评论(0) 推荐(0) 编辑
上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 87 下一页