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 |
贪心,说下 思路~设个标记num 初始值 置为0; 从 n*m 开始向下查找,如果手中有那张牌,num++; 否则 num--; 记录num 出现过的 最大值~ 我看的一位大牛的解题报告~方法真牛逼啊~ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator