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

好坑!用froyd的话不能算出所有值之后再处理!在这里卡住了= =

Posted by KatrineYang at 2016-07-14 11:39:34 on Problem 1734
另外还要注意,环的长度k>2!!!在这里无限WA!我以为如果A-B有重边那么A-B-A也是可行的为此录入数据时还特别判断了一下。。。简直多此一举,删了就AC了!

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