上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 35 下一页
摘要: " 题目链接 " Problem Description There is a youngster known for amateur propositions concerning several mathematical hard problems. Nowadays, he is prepar 阅读全文
posted @ 2017-07-26 11:00 渡…… 阅读(203) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Problem Description Talented Mr.Tang has n strings consisting of only lower case characters. He wants to charge them with Balala Power (he co 阅读全文
posted @ 2017-07-26 10:43 渡…… 阅读(214) 评论(0) 推荐(0) 编辑
摘要: ![](http://images2015.cnblogs.com/blog/1149206/201707/1149206-20170725104522812-277427203.png) ![](http://images2015.cnblogs.com/blog/1149206/201707/1149206-20170725104716734-1203878733.png) ... 阅读全文
posted @ 2017-07-25 10:46 渡…… 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 给定m×n个格子,每个格子被染成了黑色或白色。现在要用1×2的砖块覆盖这些格子,要求快于快之间互相不重叠,且覆盖了所有白色的格子(用 . 表示),但不覆盖任意一个黑色的格子(用 x 表示)。求一共有多少种覆盖方法,输出方案数对M取余后的结果。 首先考虑一下枚举所有的解法这一方法。为了不重 阅读全文
posted @ 2017-07-25 08:54 渡…… 阅读(675) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Description You are working for Macrohard company in data structures department. After failing your previous task about key insertion you wer 阅读全文
posted @ 2017-07-24 17:40 渡…… 阅读(246) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Description ACM has bought a new crane (crane jeřáb) . The crane consists of n segments of various lengths, connected by flexible joints. The 阅读全文
posted @ 2017-07-23 18:22 渡…… 阅读(221) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Description The SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quadruplet (a, b, c 阅读全文
posted @ 2017-07-22 18:02 渡…… 阅读(158) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Problem Description At the entrance to the university, there is a huge rectangular billboard of size h w (h is its height and w is its width) 阅读全文
posted @ 2017-07-22 14:28 渡…… 阅读(162) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Problem Description 杭州有N个景区,景区之间有一些双向的路来连接,现在8600想找一条旅游路线,这个路线从A点出发并且最后回到A点,假设经过的路线为V1,V2,....VK,V1,那么必须满足K 2,就是说至除了出发点以外至少要经过2个其他不同的景区,而且不能重 阅读全文
posted @ 2017-07-22 10:21 渡…… 阅读(161) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Description 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Input 输入含有多组测试数据。 每组数据的第一行是两 阅读全文
posted @ 2017-07-22 09:53 渡…… 阅读(194) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 35 下一页