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 WildChild at 2011-05-05 12:48:15 on Problem 3468
首先,裸的线段树TLE,需要lazy优化
其次,当确定自己的算法没问题的时候,注意数据类型,所有需要把int赋给long long的地方都要注意一下,包括读初始数据的时候

改来改去几乎把每个地方都测试过了

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