Reminder: in case of any technical issues, you can use the lightweight website m1.codeforces.com, m2.codeforces.com, m3.codeforces.com. ×

bhagirathinayak48's blog

By bhagirathinayak48, history, 4 months ago, In English,

I went through this editorial but didn't get much out of it. I am confused about how he merges two components and initialise the m1 and m2 in components in the beginning. Please help me understand this editorial.

Problem

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it