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: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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator