2017年9月1日

POJ3126 Prime Path —— BFS + 素数表

摘要: 题目链接:http://poj.org/problem?id=3126 Prime Path Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 22936 Accepted: 12706 Description The minist 阅读全文

posted @ 2017-09-01 20:41 h_z_cong 阅读(249) 评论(0) 推荐(0)

HDU1241 Oil Deposits —— DFS求连通块

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1241 Oil Deposits Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Tota 阅读全文

posted @ 2017-09-01 20:09 h_z_cong 阅读(184) 评论(0) 推荐(0)

HDU2612 Find a way —— BFS

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2612 Find a way Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total 阅读全文

posted @ 2017-09-01 19:55 h_z_cong 阅读(188) 评论(0) 推荐(0)

POJ3984 迷宫问题 —— BFS

摘要: 题目链接:http://poj.org/problem?id=3984 迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 24560 Accepted: 14338 Description 定义一个二维数组: int ma 阅读全文

posted @ 2017-09-01 11:35 h_z_cong 阅读(195) 评论(0) 推荐(0)

POJ3278 Catch That Cow —— BFS

摘要: 题目链接:http://poj.org/problem?id=3278 Catch That Cow Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 97563 Accepted: 30638 Description Farmer 阅读全文

posted @ 2017-09-01 11:29 h_z_cong 阅读(196) 评论(0) 推荐(0)

POJ2251 Dungeon Master —— BFS

摘要: 题目链接:http://poj.org/problem?id=2251 Dungeon Master Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 37296 Accepted: 14266 Description You ar 阅读全文

posted @ 2017-09-01 11:17 h_z_cong 阅读(195) 评论(0) 推荐(0)

POJ1321 棋盘问题 —— DFS回溯

摘要: 题目链接:http://poj.org/problem?id=1321 棋盘问题 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 50263 Accepted: 24352 Description 在一个给定形状的棋盘(形状可能是 阅读全文

posted @ 2017-09-01 10:55 h_z_cong 阅读(203) 评论(0) 推荐(0)

导航