Help needed in cses problem

Revision en1, by Hosen_ba, 2023-10-04 22:01:52

Has anyone solved any of these two problems using Dominator Tree?

https://cses.fi/problemset/task/1703

https://cses.fi/problemset/task/1203

Unfortunately my code is failing on a couple tests.

I'd really appreciate it if anyone provides an accepted code using Dominator Tree.

Tags cses, graphs, trees, dominator tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Hosen_ba 2023-10-04 22:01:52 317 Initial revision (published)