| ||||||||||
| 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 | |||||||||
1005有非法数据,请检查In Reply To:http://acm.bjtu.edu.cn/OnlineJudge/ 已经上线 Posted by:ACM06Louty at 2008-09-27 17:58:02 for (i = 0; i < m; ++ i)
{
scanf("%d %d", &a, &b);
roads[a].push_back(b);
roads[b].push_back(a);
}//ac
while (m --)
{
scanf("%d %d", &a, &b);
roads[a].push_back(b);
roads[b].push_back(a);
}//re
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator