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
欢迎参加IJCAI 2020麻将智能体竞赛,大奖等你拿!Welcome to IJCAI 2020 Mahjong AI competition with amazing prizes! | 北京大学《ACM/ICPC大学生程序设计竞赛训练》暑期课面向全球招生!

Re:我觉得离散化会有问题

Posted by punkcpp at 2008-07-29 20:23:37 on Problem 2528
In Reply To:Re:我觉得离散化会有问题 Posted by:dj4156003 at 2008-07-29 17:27:20
> 我的程序结果是3..你建树的时候左子树的终点和右子树的起点可以重叠..那样就不会错..
重叠的话,看下面这组数据:
3
1 10
1 5
6 10
正确答案应该是2

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