TOUR — spoj problem help

Revision en1, by checkMate09, 2016-10-01 22:22:21

Hello Codeforces,

I spent last 3 days trying to solve TOUR problem.

every time i send, it it gives me run time error although i changed the whole code and the idea !

my idea is simple as to check that there is only 1 source ssc in the graph then printing it's size.

here is my code : http://pastebin.com/vsWrCKeL

can any one help me with that run time error judgment ?

Tags spoj, scc

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English checkMate09 2016-10-01 22:22:21 448 Initial revision (published)