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

想看C题,顺便想问问旅游队有多少

Posted by Nireyflip at 2009-11-01 09:22:44
In Reply To:Problem B: Box Relations Posted by:ACRush at 2009-11-01 09:16:39
> 给定n个3维Box的相交或者不相交关系的信息,要求构造一组方案或输出无解
> 
> 算法:拆分约束
> 
> 所有的性质都是可以用A[i]<B[i]+C表示的,这样可以建一张有向图,然后用Bell-man-ford来计算。时间复杂度O(k*n*R)

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