网友收藏POJ - 1562 Oil Deposits (DFS)_poj-1562-CSDN博客Oil Deposits_poj-1562... 2023-10-13 18:02 评论 0 阅读 阅读全文
网友收藏Tungsten Copper FGM Spray Deposition - Chinatungsten OnlineTungsten copper FGM spray deposition is a kind of advanced forming technology that uses rapid solidification to prepare metal blanks or semi - finished products directly.... 2024-03-07 05:41 评论 0 阅读 阅读全文
网友收藏HDU 1241 Oil Deposits(经典DFS)-CSDN博客文章浏览阅读110次。嗯...题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1241很经典的一道dfs,但是注意每次查到一个@之后,都要把它变成“ * ”,然后继续dfs,这样在dfs过程中一些@变成了“ * ”。这样也不需要flag数组,当继续遍...... 2024-01-23 13:22 评论 0 阅读 阅读全文
网友收藏POJ - 1562 Oil Deposits(BFS)_poj 1562-CSDN博客#include <iostream>#include <cstring>#include <utility>#include <queue>#define x first#define y secondusing namespace std;const int N=105;char Map[N][N];int dx[8]={1,1,1,0,0,-1,-1,-1};int dy[8]={1,-1,0,1,-1,1,-1,0}..._poj 1562... 2023-10-13 18:02 评论 0 阅读 阅读全文