随笔分类 - 图论
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=4522建两个图,分别用dijstra。#include<stdio.h>#include<iostream>#include<string.h>#include<math.h>#include<string>#include<algorithm>#pragma comment(linker, "/STACK:1024000000,1024000000")using namespace std;const int
阅读全文
摘要:题目:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1586#include <cstdlib>#include <cstring>#include <cstdio>#include <cmath>#include <algorithm>#include <string>#include <iostream>using namespace std ;const int maxn = 1005;const int inf = 0xffff
阅读全文

浙公网安备 33010602011771号