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

Re:因为数据实在是太小了,所以传递闭包暴力。

Posted by lzs12348 at 2012-08-11 14:44:24 on Problem 1094
In Reply To:因为数据实在是太小了,所以传递闭包暴力。 Posted by:perseawe at 2012-03-12 22:07:15
> 传递闭包保证了可以充分利用已知的信息。
> 最后判定的时候只需要关注f[i,j]与f[j,i]的关系以及每个点出度(就是已知有几个比这个点更大)和即可。
顶,果断传递闭包,50行就搞定,而且0MS

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