DSU !! Need help

Revision en1, by krish2004, 2024-07-17 22:15:03

https://codeforces.net/contest/1985/problem/H1. For this problem when I am running the same code on VS code it is coming correct but when I am submitting it is showing garbage value. 271078629

Tags dsu

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English krish2004 2024-07-17 22:15:03 226 Initial revision (published)