CodeforcesContestBot icon indicating copy to clipboard operation
CodeforcesContestBot copied to clipboard

Added File Comparison and args option for running script.

Open arpu-nagar opened this issue 4 years ago • 0 comments

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

arpu-nagar avatar Nov 26 '20 06:11 arpu-nagar