![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搜索
文章平均质量分 82
阿磊AC
学习编程的捷径是:编程,编程,再编程!
展开
-
查找细胞
AC代码如下:#include #include #include using namespace std; const int maxn=100+10; char a[maxn][maxn]; int d[maxn][maxn]; int coun=0; int n,m; void dfs(int row,int col,int id) {原创 2017-05-31 21:22:49 · 385 阅读 · 0 评论 -
Oil Deposits
Problem DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a原创 2017-06-03 13:23:43 · 261 阅读 · 0 评论 -
Prime Ring Problem
Problem DescriptionA ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of numbers in two adjacent circles should be a prime.原创 2017-07-10 08:57:38 · 287 阅读 · 0 评论 -
Robot in Maze----BFS
DescriptionThere is a robot trapped in the maze. Now you have to send out some instructions, telling it how to reach its destination.The maze is an M * N grid. Some of the cells are empty, w原创 2017-09-15 14:11:02 · 536 阅读 · 0 评论 -
Yet Another Multiple Problem-----BFS
Problem DescriptionThere are tons of problems about integer multiples. Despite the fact that the topic is not original, the content is highly challenging. That’s why we call it “Yet Another Multiple原创 2017-09-15 14:57:23 · 411 阅读 · 0 评论