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 |
你WA肯定是因为你直接写成了>=n/2,而不是>n/2In Reply To:我知道为什么会WA了! Posted by:yjn at 2005-08-07 16:43:14 > 关键在于那个 > if it was called as "simplest" by more than a half of the jury, > > 如果n是偶数,应该是>=n/2 > 如果是奇数,应该是>=n/2+1 > 这才是所谓的more than a half of the jury Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator