Phoenix and Memory

Revision en1, by babu1998, 2020-05-11 08:24:55

https://mirror.codeforces.com/contest/1348/problem/F

I read the editorial.

https://mirror.codeforces.com/blog/entry/76555

Looking for an explanation to solution 2

Can anyone take test case 1 and draw the graph and show exactly how the cycles are formed in the diagram

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English babu1998 2020-05-11 08:24:55 285 Initial revision (published)