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 |
好坑!用froyd的话不能算出所有值之后再处理!在这里卡住了= =另外还要注意,环的长度k>2!!!在这里无限WA!我以为如果A-B有重边那么A-B-A也是可行的为此录入数据时还特别判断了一下。。。简直多此一举,删了就AC了! Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator