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:zhanglongpan at 2009-09-03 22:57:53 也可以这样做 每读入一个数,如果high,就存其本身,否则存其相反数 读入right on 的数num后遍历数组,数组中数字t>0,则 判断 t-num>0, 不成立则 dishonest. t<0 则判断 num+t>0,不成立则dishonest. Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator