摘要:
原题地址:http://acm.sgu.ru/problem.php?contest=0&problem=185题目大意:给出一个无向图,求出从 1 到 n 的两条没有相同边的最短路径(允许有重复点),要求输出具体路径,不存在则输出"No solution"。保证两点之间没有重边。数据范围和限制:点数 2 3 #include 4 5 const int maxn = 450; 6 const int maxm = 160010; 7 const int INF = 0x7F7F7F7F; 8 9 inline int getint() 10 { 11 int a. 阅读全文
posted @ 2014-01-15 14:51
SnowyJone
阅读(465)
评论(0)
推荐(0)
浙公网安备 33010602011771号