算法题目
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 · 448 阅读 · 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 · 524 阅读 · 0 评论 -
POJ--1163 The Triangle
The Triangle Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 37088 Accepted: 22209 Description 7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 (Figure原创 2014-07-24 15:54:00 · 265 阅读 · 0 评论 -
POJ--3620 Avoid The Lakes
Avoid The Lakes Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6261 Accepted: 3388 Description Farmer John's farm was flooded in the most recent storm, a原创 2014-07-24 17:15:10 · 309 阅读 · 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 · 400 阅读 · 0 评论 -
海之树
Description Being 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 · 511 阅读 · 0 评论 -
poj--3009
Curling 2.0 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11324 Accepted: 4783 Description On Planet MM-21, after their Olympic games this year, curling原创 2014-07-29 10:08:59 · 344 阅读 · 0 评论 -
hdu--1873畅通工程续
畅通工程续 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 27556 Accepted Submission(s): 9951 Problem Description 某省自从实行了很多年的畅通工程计划后,原创 2014-08-01 09:32:28 · 360 阅读 · 0 评论
分享