Silver Cow Party Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 15522 Accepted: 7039 Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going
1003. Emergency (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue As an emergency rescue team leader of a city, you are given a special map of your c
题目: N//有N个连线 X,y,v//序号X和序号Y之前的路费为V。 。。。。。。。。 X Y//只有一行要求输出序号X到序号Y的最短路。 程序: #include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using name
不说了,宏定义害死人 #include<bits/stdc++.h>#define Pair pair<long long, long long>#define fi first#define se second/*宏定义害死人*///#define AddEdge(x,y,f,z) add_edge(x,y,f,z);add_edge(y,x,0,-z);// #define ge