| ||||||||||
| 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 | |||||||||
Problem B: Box RelationsIn Reply To:武汉赛区比赛9:00-14:00,清华校内PK最终决战 Posted by:ACRush at 2009-11-01 08:59:48 给定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