Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rachitiitr/codeforcescontestbot
The best Codeforces Contest Bot written by rachitiitr
https://github.com/rachitiitr/codeforcescontestbot
codeforces competitiveprogramming hacktoberfest javascript nodejs
Last synced: 1 day ago
JSON representation
The best Codeforces Contest Bot written by rachitiitr
- Host: GitHub
- URL: https://github.com/rachitiitr/codeforcescontestbot
- Owner: rachitiitr
- Created: 2019-12-14T15:59:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-14T13:15:29.000Z (over 2 years ago)
- Last Synced: 2023-11-07T16:56:10.159Z (about 1 year ago)
- Topics: codeforces, competitiveprogramming, hacktoberfest, javascript, nodejs
- Language: C++
- Homepage: https://www.youtube.com/watch?v=MXYmbJO4bqU
- Size: 21.5 KB
- Stars: 269
- Watchers: 8
- Forks: 99
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Live Demo
Watch the YouTube video showing the live demo -> [here](https://www.youtube.com/watch?v=MXYmbJO4bqU)# Setup/Installation
```bash
INSTALLATION_PATH=""; # also the dir where you will write solution
cd $INSTALLATION_PATH
git clone https://github.com/rachitiitr/CodeforcesContestBot.git
cd CodeforcesContestBot
npm install
```# Usage
```bash
export CF_CONTEST=https://codeforces.com/contest/1330
node script.js
# will parse all the problems of the contest
# download their testcases
# create multiple directories A B C D E depending on the number of problems in contest
# each directory created will have
# in0.txt out0.txt
# in1.txt out1.txt and so on
# which represent the testcases downloaded
```# Running sol.cpp on multiple testcases and viewing output
```bash
./runall.sh A #if you want to test A/sol.cpp
./runall.sh D #if you want to test D/sol.cpp against your output vs sample output
# this will run your code on downloaded test cases
# and print to console your output vs expected output
```