| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
注意点汇总1.普通边是双向的,虫洞是单向的
2.实际数据点的数量可能大于500,我开的1000
3.会有两个边的起点和终点相同的情况,还会一个边的起点和自身终点相同的情况
4.图是连通的,从1出发就好
5.输入有很多组 一直读到文件尾,像这样
int F;
while(scanf("%d",&F)==1)
{
......
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator