| ||||||||||
| 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 | |||||||||
replyIn 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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator