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 cyhh at 2012-01-05 14:04:01 on Problem 3177
不知道是出题者没有把题意说清楚,还是我没有读懂题,,
反正要去掉重边才能A。 而不去重边的话是WA。。。。不理解啊,,
拿两组数据来说明:
4 3
1 2 
2 3
3 4

4 6
1 2
1 2
2 3
2 3
3 4
3 4
去掉重边之后,两组数据是一样的,答案都是 1 。

但第二组数据也要输出 1 ,,难以理解啊,,,

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