poj
chaomaer
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 1472
#include <iostream> #include <cstdio> #include <string> #include <sstream> #include <cstring> using names原创 2018-05-02 15:49:11 · 277 阅读 · 0 评论 -
poj 1062
#include <iostream> #include <string.h> using namespace std; int min(int x,int y){ return x>y?y:x; } int m, n; const int size = 101; const int INF = 0x3f3f3f3f; int road[size][s原创 2018-03-10 13:25:21 · 128 阅读 · 0 评论 -
poj 2240
#include <iostream> #include <map> #include <string.h> #include <string> using namespace std; const int size = 31; int n; map<string, int> str2ix;原创 2018-03-10 16:53:45 · 175 阅读 · 0 评论 -
poj 2253
#include <iostream> #include <math.h> #include <string.h> #include <stdio.h> #include &l原创 2018-03-10 15:10:35 · 174 阅读 · 0 评论 -
POJ 3026
#include <iostream> #include <algorithm> #include <vector> #include <map> #include <string> #include <queue> #include <cstring> #include <cstdio>原创 2018-05-27 11:58:07 · 398 阅读 · 0 评论 -
POJ 1094
Thinking in topological sort how to judge if has a loop when there are still some unvisited node, but the number of node whose in-degree==0 equals zero, we can say: there is a loop in the graph. ho...原创 2018-05-27 15:07:25 · 223 阅读 · 0 评论 -
POJ 4044
#include<stdio.h> #include<iostream> #include<algorithm> #include<functional> #include<vector> #include<string.h> using namespace std; vector<int> vect1; vect原创 2018-07-06 11:05:43 · 346 阅读 · 0 评论 -
POJ 2479
很好的思路,同时从前面和后面计算最大的连续序列和,然后遍历中间点,得出最大值。 #include<stdio.h> #include<iostream> #include<algorithm> #include<functional> #include<vector> #include<string.h> using nam...原创 2018-07-06 15:03:04 · 278 阅读 · 0 评论 -
POJ 1472
自己对于这道题目的理解 主要参考的代码链接 传送门 BEGIN LOOP n OP 4 LOOP 3 LOOP n OP 1 END OP 2 END OP 1 END OP 17 OP 17 LOOP n OP 4 LOOP 3 LOOP n ...原创 2018-09-06 20:50:51 · 267 阅读 · 0 评论
分享