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

Add support for gym problems #513

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nullchilly
Copy link
Contributor

@nullchilly nullchilly commented Dec 20, 2024

This PR adds short name support for gym problems (E.x. https://codeforces.com/gym/105540/problem/F)

It also changes the code to use regex instead of split, which fixes an issue when parsing a problem url with parameters (E.x. https://codeforces.com/contest/2048/problem/I2?locale=en will end up with 2048I2?locale=en instead of 2048I2)

Before After
image image
image image

@nullchilly nullchilly force-pushed the codeforces branch 3 times, most recently from 392918b to 08f173b Compare December 20, 2024 03:21
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.

1 participant