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 |
虽然Ac了可还是不解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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator