AC9
|
13 years ago,
#
|
+6
Someone please share how to solve problem E. thanks
→
Reply
|
Anarivu
|
13 years ago,
#
|
+5
you use DFS to set direction of all edges and then find strongly conected componetnts
if there are more then one component - print 0 else - print edges
→
Reply
|