枚举
文章平均质量分 81
Cfreezhan
在校学生编程菜鸟
展开
-
POJ 2029 && ZOJ 1716 Get Many Persimmon Trees
枚举入门。原题链接:http://poj.org/problem?id=2029 POJ http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=716 ZOJGet Many Persimmon TreesTime Limit: 1000MS Memor原创 2012-10-28 15:27:09 · 1246 阅读 · 0 评论 -
hdu 4414 Finding crosses【简单模拟】
题目:http://acm.hdu.edu.cn/showproblem.php?pid=4414CSUST:点击打开链接Finding crossesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 729原创 2013-07-17 21:16:43 · 1231 阅读 · 0 评论 -
POJ 2965 The Pilots Brothers' refrigerator【枚举+dfs】
题目:http://poj.org/problem?id=2965来源:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=26732#problem/B题意:就是把题目中给出的状态图,全部翻转成----------------状态翻转: 每次翻转一个,那么它所在的行和列都要翻转问最小翻转次数,原创 2013-07-22 12:19:41 · 6029 阅读 · 0 评论 -
zoj 3356 Football Gambling II【枚举+精度问题】
题目:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3356http://acm.hust.edu.cn/vjudge/contest/view.action?cid=26732#problem/DFootball Gambling IITime Limit: 3 Seconds原创 2013-07-23 17:01:11 · 1726 阅读 · 2 评论 -
POJ 1753 Flip Game【翻转棋盘+枚举+dfs】
方法:一、枚举(此处所用) 二、用二进制记录下标(尚未实现) 三、类比于玩魔方游戏(思路来自黄超,尚未实现)原题链接:http://poj.org/problem?id=1753Flip GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissi原创 2012-11-02 19:35:10 · 6304 阅读 · 8 评论