# Tony Hyun Kim
# CS 224W, PS0, Problem 2
# 2013 10 01

# Need to document:
#   1) GetMxOutDegNId
#   2) AddSelfEdges
#   3) GetBiConSzCnt

import snap

Graph = snap.GenRndGnm(snap.PUNGraph, 100, 100)
szCntV = snap.TIntPrV()

snap.GetBiConSzCnt(Graph, szCntV)
for s in szCntV:
    print "{} {}".format(s.GetVal1(), s.GetVal2())
