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

晕哦,1201AC,1716WA?

Posted by mightyvoice at 2009-05-29 20:37:40 on Problem 1716
    结果仔细一看1201中a<=b,1716中a<b,所以建图就不一样,一改就AC了,不过还是有点朦胧,求高手指教啊,谢了。
     1201中我建图是:p1[i]=a-1,p2[i]=b;1716中我是p1[i]=a,p2[i]=b+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