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 810974380 at 2009-08-20 19:32:11 on Problem 1323
设个标记num 初始值 置为0;
从 n*m  开始向下查找,如果手中有那张牌,num++;
否则 num--;
记录num  出现过的 最大值~


我看的一位大牛的解题报告~方法真牛逼啊~

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