Hello to everyone,can you help me with solution of this problem->

Revision ru1, by SohbetOvezov, 2026-11-19 08:44:06

[problem:https://codeforces.me/edu/course/2/lesson/7/1/practice/contest/289390/problem/C]

i tried it solve with all type of dsu but unfortunately it got or tle or wa please help me!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru1 Russian SohbetOvezov 2026-11-19 08:44:06 250 Первая редакция (опубликовано)