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

抓狂啊。死活都是TLE

Posted by yangguo981 at 2006-06-20 21:08:27 on Problem 1027
我的方法如下:每次,搜索全图,找到最多的球,同时也计算出本次可以去掉的最多球数以及对应的位置。这个是不能少的了吧?然后再压缩图,循环直到结束。打印结果。压缩图的时候就是先列,再行。还有哪里可以优化的吗????吐血啊。

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