2013年10月11日

poj 3213 PM3

摘要: 题目链接:http://poj.org/problem?id=3213解题思路:直接模拟矩阵相乘 1 /************************************************************************** 2 user_id: SCNU20102200088 3 problem_id: poj 3213 4 problem_name: PM3 5 **************************************************************************/ 6 7 #include 8 ... 阅读全文

posted @ 2013-10-11 15:41 SCNU20102200088 阅读(377) 评论(0) 推荐(0) 编辑

hdoj 4432 Sum of divisors

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4432解题思路:简单的进制转换 1 /************************************************************************** 2 user_id: SCNU20102200088 3 problem_id: hdoj 4432 4 problem_name: Sum of divisors 5 ********************************************************************... 阅读全文

posted @ 2013-10-11 15:33 SCNU20102200088 阅读(190) 评论(0) 推荐(0) 编辑

hdoj 4112 Break the Chocolate

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4112解题思路:第一种:n*m*k-1, 第二种:ceil(log(n)/log(2))+ceil(log(m)/log(2))+ceil(log(k)/log(2)). 1 /************************************************************************** 2 user_id: SCNU20102200088 3 problem_id: hdoj 4112 4 problem_name: Break the Chocolate 5 阅读全文

posted @ 2013-10-11 08:52 SCNU20102200088 阅读(121) 评论(0) 推荐(0) 编辑

2013年10月10日

hdoj 4143 A Simple Problem

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4143解题思路:枚举 n=a*b, a 8 #include 9 #include 10 #include 11 #include 12 #include 13 #include 14 #include 15 #include 16 #include 17 #include 18 #include 19 #include 20 #include 21 #include 22 #include 23 #include 24 #include 25 #include 26 #include 27 #i. 阅读全文

posted @ 2013-10-10 21:22 SCNU20102200088 阅读(191) 评论(0) 推荐(0) 编辑

nkoj 2121 飞行员配对方案问题

摘要: 题目链接:http://acm.nankai.edu.cn/p2121.html解题思路:二分图匹配(匈牙利算法DFS实现) 1 /************************************************************************** 2 user_id: SCNU20102200088 3 problem_id: nkoj 2121 4 problem_name: 飞行员配对方案问题 5 **************************************************************************/... 阅读全文

posted @ 2013-10-10 09:50 SCNU20102200088 阅读(308) 评论(0) 推荐(0) 编辑

导航