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 Yokile at 2017-03-09 15:32:26 on Problem 3177
    Routes are considered separate if they use none of the same paths, even if they visit the same intermediate field along the way. 
先说一下这一组数据
2 2
1 2
2 1
这组数据按我的理解是0,但是后台数据是没有这样的数据的。。。亲测
因为上方考虑两条路径是否相同是判断走的边是否一样。实际上只要组成了一个环, 那么必定存在两条路, 一条正向走,一条逆向走、

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