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

reply

Posted by Swal_MJ at 2011-03-15 13:16:54 on Problem 1716
In Reply To:晕哦,1201AC,1716WA? Posted by:mightyvoice at 2009-05-29 20:37:40
其实,a-1和b+1是一样的,关键是加边(a,b,c)要满足b-a》=c!
1201 题目条件是bi-ai+1>=ci即是(bi+1)-ai>=ci 加入(ai,bi+1,ci)
                        或者bi-(ai-1)>=ci  加入(ai-1,bi,ci)
1716 a-b之间要有2个数(即c=2)且a<b  即是 b-a>=1   即 (b+1)-a>=2    (c==2)
                                加入(a,b+1,c)
                                或者(a-1,b,c)也一样!

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