usaco-guide icon indicating copy to clipboard operation
usaco-guide copied to clipboard

Rewrite CSES Flight Routes Check Proof

Open izhang05 opened this issue 2 years ago • 2 comments

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.

izhang05 avatar Aug 07 '22 01:08 izhang05

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.

chezbgone avatar Aug 07 '22 03:08 chezbgone

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$..."

izhang05 avatar Aug 07 '22 03:08 izhang05

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!

stale[bot] avatar Aug 14 '22 07:08 stale[bot]

Changes requested have not been made. Free free to create a new PR.

stale[bot] avatar Aug 31 '22 05:08 stale[bot]