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 |
水过100题,对硬币计分即可用score[]计分,flag[]记每个硬币真假(flag为false不一定假,为true一定真) 大于,且flag为false,则++ 小于,且flag为false,则-- 等于则score归零,且把flag置为true 最后比较找出score绝对值最大的即为假,注意有多个最大值的判断即可 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator