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

虽然Ac了可还是不解

Posted by Snow_storm at 2010-02-21 02:48:08 on Problem 2282
In Reply To:why Wa???????!!!!!!!!!!!!!!!!! Help me !!!! Posted by:Snow_storm at 2010-02-21 02:28:41
if(x==a-1 || x==b)
   f[0]+=weight;
为什么要把这句删了才AC?
可0不是可以当个位数么
如果少了这句个位不是少算一个0么

虽然对于总的结果 这句无关紧要 因为  若假设b>a
则(Find(b)-1)-(Find(a)-1)=Find(b)-Find(a)        

可是加上这句为什么Wa????

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