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 willamette at 2005-09-18 11:10:49 on Problem 2287
现将俩人的马从大到小排序
再对田忌的每一匹马,找出齐王的最大的比这个值小的马,比赛,记录田忌胜++ ;
然后对齐王得还没有比的每一匹马,找出田忌的最大的比这个值小的马,比赛,记录齐王胜++;(为了防止sample2的数据出现)

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