Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

fker's blog

By fker, history, 7 months ago, In English

2143C - Max Tree It is useful, and actually very easy to implement.

I tried to solve it with DFS, but not very obviously,that's not gonna work.

Spoiler
  • Vote: I like it
  • -26
  • Vote: I do not like it

»
7 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Here is the USACO guide page for topological sort

Please just look up what you are trying to learn instead of posting blogs like this