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

Re:您怎么知道是错的呢?

Posted by wzhh at 2006-08-29 11:10:24 on Problem 1828
In Reply To:您怎么知道是错的呢? Posted by:c0500448242 at 2005-08-13 17:47:03
这个提示确实是错的,按这种算法,求出的猴王占据的坐标x,y都是最大值,但是也存在如果x是最大,而y不是最大,(或者相反,甚至x,y都不是最大),而占据这个坐标的猴子也可能是猴王,举例说明:
3
5 3
4 4
3 5
这三只猴子都可以成为猴王:
输出结果应该是3.

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