diff options
author | Anthony Wang | 2021-01-11 18:41:43 -0600 |
---|---|---|
committer | Anthony Wang | 2021-01-11 18:41:43 -0600 |
commit | 0c58101659312a0865950d592258c8f6fa2afb84 (patch) | |
tree | 9c82653d4659b332c489583d9dbd68c3d326378d /atcoder.md | |
parent | cf21a40a6002e4df5ef67b5912577530b5b6a28f (diff) |
arc111_d
Diffstat (limited to 'atcoder.md')
-rw-r--r-- | atcoder.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -201,3 +201,5 @@ - arc105_e: Consider what the graph looks like at the end of the game, then look at parity to see who wins - arc108_f: First consider the diameter which is pretty obvious, then look at the case where it is colored two different colors; then you only have to consider distances to the two endpoints + +- arc111_d: First direct the edges that are easy to direct, basically c_u < c_v, so the edge must go from v to u; then the problem reduces down to creating strongly connected components, which you can do using a DFS tree |