![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法题目
fjalsjflasj
这个作者很懒,什么都没留下…
展开
-
POJ 3984
Description定义一个二维数组: int maze[5][5] = {0, 1, 0, 0, 0,0, 1, 0, 1, 0,0, 0, 0, 0, 0,0, 1, 1, 1, 0,0, 0, 0, 1, 0,};它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖着走,不能斜着走,要求编程序找出从左上角到 右下角的最短路线。I原创 2014-07-19 17:31:49 · 401 阅读 · 0 评论 -
POJ 2342
#include #include #include #include #include #include #include #include #include #include #include #define MAX 100010 using namespace std; struct原创 2014-07-23 22:14:21 · 461 阅读 · 0 评论 -
POJ--1163 The Triangle
The TriangleTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 37088 Accepted: 22209Description73 88 1 02 7 4 44 5 2 6 5(Figure原创 2014-07-24 15:54:00 · 223 阅读 · 0 评论 -
POJ--3620 Avoid The Lakes
Avoid The LakesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6261 Accepted: 3388DescriptionFarmer John's farm was flooded in the most recent storm, a原创 2014-07-24 17:15:10 · 251 阅读 · 0 评论 -
UVa 10608 - Friends
FRIENDS There is a town with N citizens. It is known that some pairs of people are friends. According to the famous saying that The friends of my friends are my friends, too it follows that if原创 2014-07-28 15:36:55 · 342 阅读 · 0 评论 -
海之树
DescriptionBeing a programmer, you like arrays a lot. For your birthday, your friends have given you an array a consisting of ndistinct integers.Unfortunately, the size of a is too small. You wa原创 2014-07-28 15:40:04 · 457 阅读 · 0 评论 -
poj--3009
Curling 2.0Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11324 Accepted: 4783DescriptionOn Planet MM-21, after their Olympic games this year, curling原创 2014-07-29 10:08:59 · 293 阅读 · 0 评论 -
hdu--1873畅通工程续
畅通工程续Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 27556 Accepted Submission(s): 9951Problem Description某省自从实行了很多年的畅通工程计划后,原创 2014-08-01 09:32:28 · 306 阅读 · 0 评论