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 |
Re:你能通过这些数据吗?In Reply To:你能通过这些数据吗? Posted by:zhaokkk27 at 2007-09-10 18:05:34 > case 1: > 3 2 > 1 1 2 > < > 1 1 3 > < > 答案:1 > > case 2: > 5 1 > 2 1 2 3 4 > = > 答案:5 > > case 3: > 3 2 > 1 1 2 > < > 1 2 3 > > > 答案:0 > > 我枚举每个coin为假,并枚举重或轻, > 然后判断每条信息是否符合.做了些优化,不会TLE. case 3: 答案不是应该是2的吗? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator