| ||||||||||
| 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 | |||||||||
这个数据范围是我们修改过的,而且是检查过的……正赛的时候这道题就出问题了,所以我们特意检查了,我们再去查查In Reply To:1005有非法数据,请检查 Posted by:tekkie at 2008-09-27 19:04:39 > 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