Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update cf-702C #4939

Merged
merged 19 commits into from
Nov 24, 2024
Merged

update cf-702C #4939

merged 19 commits into from
Nov 24, 2024

Conversation

freakin23
Copy link
Contributor

Place an "x" in the corresponding checkbox if it is done or does not apply to this pull request.

  • I have tested my code.
  • I have added my solution according to the steps here.
  • I have followed the code conventions mentioned here.
    • I understand that if it is clear that I have not attempted to follow these conventions, my PR will be closed.
    • If changes are requested, I will re-request a review after addressing them.
  • I have linked this PR to any issues that it closes.

AC: https://codeforces.com/contest/702/submission/292572139

@freakin23
Copy link
Contributor Author

Personally, I don't think Solution 3 is needed at all. The towers are already given in sorted order, so there is no point in using a set for that. It just looks like a heavy version of Solution 1.

solutions/silver/cf-702C.mdx Outdated Show resolved Hide resolved
solutions/silver/cf-702C.mdx Outdated Show resolved Hide resolved
solutions/silver/cf-702C.mdx Outdated Show resolved Hide resolved
@ryanchou-dev ryanchou-dev merged commit 58173e8 into cpinitiative:master Nov 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants