Difficult problem about cycle

Revision en1, by bhikkhu, 2016-09-12 06:02:25

http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2874

I don't know how should I dissect the problem. Can anbody post an analysis?

Tags cycle detection

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English bhikkhu 2016-09-12 06:02:25 219 Initial revision (published)