| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
想看C题,顺便想问问旅游队有多少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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator