Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

提供一组数据

Posted by xuchang at 2010-10-21 23:06:36 on Problem 1042
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator