1.0.9 • Published 4 years ago

codeforces-contest v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

codeforces-contest

Provides you with sample inputs and outputs for a codechef contest

GitHub package.json version  GitHub Repo stars npm

Tech-Stack

Node 

Installation

npm i -g codeforces-contest

You can also run it via npx

npx codeforces-contest

Usage

codeforces-contest <command> [option]

Note: If globally installed you can also use cfc-cli instead of codeforces-contest

cfc-cli <command> [option]

or run it directly using npx

npx codeforces-contest <command> [option]

I have also created a kind of npx alias called cfcio https://www.npmjs.com/package/cfcio for convinience

npx cfcio <command> [option]

commands

help  #prints help info

options

-u, --url       #Fetches sample inputs and outputs and creates folder for the contest

-f, --folder    #Defines the directory name for the folder in which the files will be

-l, --language  #Preferred language to write files. For example '-l cpp' will create .cpp files to write solutions

-c, --clear     #Clear the console Default: false

--noClear       #Don't clear the console Default: false

-d, --debug     #Print debug info Default: false

-v, --version   #Print CLI version Default: false

examples

Command

codeforces-contest -u https://codeforces.com/contest/159 -f myfolder -l cpp

output

codeforces-contest  v1.0.3 by Nikhil Gupta
Provides you with sample inputs and outputs for a codechef contest
Type codeforces-contest --help for more info


Creating Folder

✔ Fetched Friends or Not
✔ Fetched Matchmaker
✔ Fetched String Manipulation 1.0
✔ Fetched Palindrome pairs
✔ Fetched Zebra Tower

✔  Completed  Created folder 'myfolder'


ℹ  Give a star  https://github.com/TheNinza/codeforces-contest
1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago