• Stars
    star
    272
  • Rank 151,235 (Top 3 %)
  • Language
    C++
  • Created almost 5 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The best Codeforces Contest Bot written by rachitiitr

Live Demo

Watch the YouTube video showing the live demo -> here

Setup/Installation

INSTALLATION_PATH="<directory_path_where_you_want_to_clone>"; # also the dir where you will write solution
cd $INSTALLATION_PATH
git clone https://github.com/rachitiitr/CodeforcesContestBot.git
cd CodeforcesContestBot
npm install

Usage

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

./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

More Repositories

1

DataStructures-Algorithms

The best library for implementation of all Data Structures and Algorithms - Trees + Graph Algorithms too!
C++
2,756
star
2

modern-cpp-tricks

Modern CPP Tricks often useful in Coding Interviews and Competitive Programming
686
star
3

interview-prep

Here is how to prepare for Data Structures / Algorithms for Coding Interviews. This is a comprehensive collection of problems across hot interview topics like Dynamic Programming, LinkedLists, Greedy, Arrays, Binary Trees, Trees, etc.
C++
241
star
4

GameOfThrones-ChromeExtension

This Extension saves you from Game Of Thrones Spoilers.
JavaScript
67
star
5

coronavirus-bot-tracker

Scans the official Government website and throws notifications to Slack when new cases arise (Ministry of Health and Family Welfare)
Python
48
star
6

chaos-in-javascript

I was always intrigued to see how math is so beautiful. Thanks to JavaScript for giving me the power to program my curiosity and explore the beauty of chaos in math.
HTML
43
star
7

conda101

This "Conda Tutorial" is part of the quest to navigate your "Software Engineer Career" into "Senior Developer" and "Lead Developer" Roles. Join Rachit Jain in his journey as he learns and shares his knowledge from a University Student to a Senior Software Engineer.
19
star
8

developers-together

The Github Repo of "Developers Together" - Rachit's Programming Community on Discord (https://discord.gg/YWcSw9mYHg)
12
star
9

games-in-js

I always loved video games as a kid. Glad that I am making myself now. I am a Backend developer, learning and building great apps in frontend now.
JavaScript
11
star
10

react-components

My custom react components that I built as a hobby
JavaScript
10
star
11

cmake-101

C++ used in open source projects and corporate projects often are built and deployed using CMake. This repo serves as a basic 101 tutorial to all those C++ developers that are used to run single file C++ code and want to start writing complex organized projects spanning across multiple repositories and managing them via CMake.
C++
9
star
12

playground-cpp

Test repo to quickly run a basic C++ program and play around
C++
4
star
13

checkmeout

Random responsive portfolio website
HTML
4
star
14

screen-drawing-app

2
star
15

webpack101

Webpack is a module bundler, but exactly what does it do and why does it have 60,000+ stars on Github?
JavaScript
2
star
16

javascript-notes

2
star
17

url-shortener-fullstack

Url Shortener FullStack App
TypeScript
1
star
18

html-notes

1
star
19

screen-draw

JavaScript
1
star