Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

严格来说其实是要考虑重边的

Posted by bluesea147 at 2010-08-25 23:23:20 on Problem 3694
拿样例来说,如果测试数据改成
4 4
1 2
2 1
1 4
2 3
1
1 2
那么不考虑重边的话会输出3
但是真正的答案应该是2
但是不考虑重边也能过...估计是数据原因吧

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator