搜索
文章平均质量分 81
fyfcauc
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
poj-1470
//3452K 735MS C++ #include #include const int MAX = 910; struct TreeNode { int NextBroId; int parentId; }; typedef struct TreeNode TreeNode; int LCACounter[MAX]; int querys[MAX][MAX];原创 2014-09-18 17:41:34 · 639 阅读 · 0 评论 -
poj-2362
#include #include using namespace std; long long fourEdgeLength[4]; long long lengthSum; long long edgeMaxLength; int caseNum; bool flag; long long sticks[21]; int stickNum; void dfs(int stic原创 2014-09-19 20:30:45 · 574 阅读 · 0 评论 -
poj-1166
//3996K 672MS G++ #include #include #include #include using namespace std; // int OP[9] = {1+2+8+16, 1+2+4, 2+4+16+32, // 1+8+64, 2+8+16+32+128, 4+32+256, // 8+16+64+12原创 2014-09-10 11:13:42 · 618 阅读 · 0 评论 -
poj-1724
// 320K 110MS C++ #include #include using namespace std; const int MAX = 110; struct MapInfo { int length; int toll; }; struct Road { int end; int length; int toll; int原创 2014-08-29 17:10:53 · 634 阅读 · 0 评论 -
poj-3411
// 384K 0MS G++ #include #include using namespace std; int M; int N; const int MAX = 11; // int map[MAX][MAX]; char visitCityFlag[MAX]; char visitRoadFlag[MAX][MAX]; struct Road { int begi原创 2014-08-29 11:30:42 · 538 阅读 · 0 评论 -
poj-1691
// 164K 32MS C++ #include #include #include using namespace std; // int comp(const void * a,const void * b) // { // return *(int*)a-*(int*)b; // } struct Rectangle{ int x1, y1; int x2, y2;原创 2014-08-30 17:46:04 · 604 阅读 · 0 评论 -
poj-1054
//25008K 1891MS G++ #include #include #include #include using namespace std; int W; int H; const int MAX = 5010; struct Flatten { int x; int y; }; typedef struct Flatten Flatten; Flatten fl原创 2014-09-01 22:24:55 · 767 阅读 · 0 评论
分享