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

不得不 发一条 ! wa 哭了 2天 , 给后来人的一些建议

Posted by NJUT1401140226 at 2016-06-29 19:51:11 on Problem 2528
1、 一开始一直RE  , 个人感觉数据 可能是真的不止10000 , 一怒之下开了10倍数组
2、 不要说 数据有问题 , 可能是错误的代码能过 , 但是正确的代码 也一定能过
3、 注意: 
    1. 离散化 之前一个 right++ 或者 left——, 因为 图中的 每个数据为一个段 而不是一个点  
    2. 建树 和 更新查找 时候 划分 应该为 (left , mid)  和 (mid , right) ,自己画一下就明白了。

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