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到500+ms的?

Posted by The_Dawn at 2011-10-10 00:22:05 on Problem 3612
1、全都不用int64
2、由于1,空间允许了,所以不用滚动数组了
3、去掉了n的循环中没用的low和high的初始化
4、给所有的枚举加上了上下界
5、把所有过程模块里的东西都堆到主函数里...

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