随笔分类 -  POJ

subsequence 尺取法
摘要:1 #include <cstdio> 2 #include <cstring> 3 #include <algorithm> 4 using namespace std; 5 6 int arr[1000010]; 7 8 int main() 9 { 10 int T,n,S; 11 scanf 阅读全文

posted @ 2016-04-29 18:44 青春的梦想付诸行动 阅读(167) 评论(0) 推荐(0)

POJ Wormholes 最短路径 ballman_ ford 有负环
摘要:1 #include <cstdio> 2 #include <cstring> 3 #include <algorithm> 4 #include <iostream> 5 #include <queue> 6 #define MAX 9999999 7 8 using namespace std 阅读全文

posted @ 2016-01-30 23:18 青春的梦想付诸行动 阅读(379) 评论(0) 推荐(0)

导航