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 |
提供一组数据2 1 24 42 2 40 5 ans: 60, 0 Number of fish expected: 156 30,5 156 也是最大的,但我居然把判断逻辑给搞错了还混然不知..........真是惭愧啊 从第一个数开始比,30<60就不用再往后比了直接break..... Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator