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

Added File Comparison and args option for running script. #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

arpu-nagar
Copy link

Changes in diff.sh

  1. Replaced CR LF with LF and fixed newline problem, file comparison now works. Displays in green or red whether test case has passed or not.

  2. Works cross-platform (Windows, Linux, OSX)

r1

Changes in script.js

  1. Added an args option, which is commented, to parse contest based on URL index number of the contest.

eg: for 'https://codeforces.com/contest/1454', this will parse the contest.

node script.js 1454

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