usaco-guide
usaco-guide copied to clipboard
Rewrite CSES Flight Routes Check Proof
I think writing the proof without the unnecessary contradiction makes it a lot clearer and easier to read.
If any of the below doesn't apply to this Pull Request, mark the checkbox as done.
- [ ] I have tested my code.
- [ ] I have added my solution according to the steps here.
- [ ] I have followed the code conventions mentioned here, which include the following:
- I understand that if it is clear that I have not attempted to follow these guidelines (ex. if I have not used tabs to indent), my PR will be closed.
- If changes are requested, I will re-request the review after making them.
From Discord discussion: Is the proof even necessary? I feel like adding an extra sentence to the first line of the "Main Idea" section would be better. The sentence can be something like "This is because if we want to find a path u -> v
(u \to v), we can compose the two paths u -> x
and x -> v
.
Yeah, in that case I'm not sure we need the can[u][v] either. It would probably be clearer to say something like "If for every node $x$, there is a path from $1$ to $x$ and a path from $x$ to $1$..."
This pull request has been automatically marked as stale because it has not had recent activity. Please address the requested changes and re-request reviews. Thank you for your contribution!
Changes requested have not been made. Free free to create a new PR.