![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
poj
文章平均质量分 59
skymeteorite
这个作者很懒,什么都没留下…
展开
-
poj1611 The Suspects
http://poj.org/problem?id=1611 DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmi原创 2015-09-10 20:57:37 · 319 阅读 · 0 评论 -
poj2236 Wireless Network
http://poj.org/problem?id=2236 DescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, but an unexpected a原创 2015-09-10 20:07:08 · 218 阅读 · 0 评论 -
poj3984bfs
#include<cstdio> #include<iostream>#define N 5 using namespace std;struct note { int x,y,pre;//存放坐标,前一个节点的位置 }que[100];int maze[N][N]; int Nx[4]={1,-1,0,0}; int Ny[4]={0,0,-1,1}; int start=0,end=1;原创 2015-09-25 21:03:50 · 305 阅读 · 0 评论 -
hdu1426搜索
http://poj.org/problem?id=1426 DescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. You may assum原创 2015-09-24 21:24:04 · 359 阅读 · 0 评论 -
poj 3126 Prime Path bfs
参考题解的 http://user.qzone.qq.com/289065406/blog/1303623014 题目http://poj.org/problem?id=3126 DescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating th原创 2015-09-28 20:24:42 · 254 阅读 · 0 评论 -
poj1321棋盘问题
http://poj.org/problem?id=1321Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Input输入含有多组测试数据。 每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将在一个n*n的矩阵内原创 2015-09-15 21:23:58 · 455 阅读 · 0 评论 -
poj3278Catch That Cow bfs
http://poj.org/problem?id=3278 DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line原创 2015-09-17 20:58:29 · 236 阅读 · 0 评论 -
poj2251Dungeon Master bfs
http://poj.org/problem?id=2251DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes原创 2015-09-18 18:55:48 · 258 阅读 · 0 评论