Skip navigation.

DD的USACO征程

USACO未灭,何以家为?

School Net

,

方法是这样的:
首先,用你喜欢的方法求出强连通子图。然后第一个问题的解就是没有入边的强连通子图的个数,第二个问题的解就是没有出边和没有入边的强连通子图的数目中较大的一个。
schlnet.cpp

Big BarnWindow Area

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

January 2010
S M T W T F S
December 2009February 2010
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30