Skip to content

Python script to download code chef solutions for a problem

License

Notifications You must be signed in to change notification settings

ganeshkumarm1/CSD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codechef Solution Downloader (CSD)

Python script to download code chef solutions for a problem

Modules Used

  • requests==2.17.3
  • beautifulsoup4==4.6.0
  • argparse==1.1

Setup

  1. Clone the repo using git clone https://github.com/GaneshmKumar/CSD.git
  2. cd CSD
  3. python setup.py install

Usage

csd -pc MAXSC -l C JAVA PYTH -sc AC WA -p 1

  • -pc - problem code
  • -l - programming languages (c, java, pyth, etc..) #By default all languages will be downloaded
  • -sc - status code (AC, WA, TLE) #By default AC will be downloaded
  • p - total number of pages to download #By default all pages will be downloaded

The supported compilers and status codes are given below

Compilers

  • BF
  • NEM
  • TEXT
  • JS
  • LUA
  • COB
  • PIKE
  • C#
  • PYPY
  • SCALA
  • PERL
  • ASM
  • PYTH
  • D
  • HASK
  • ADA
  • GO
  • RUBY
  • BASH
  • ICON
  • ALL
  • SCM_CHICKEN
  • ST
  • WSPC
  • PERL6
  • F#
  • PHP
  • PYTH 3.5
  • CLPS
  • CLOJ
  • ERL
  • PAS_GPC
  • C++_6.3
  • PAS_FPC
  • TCL
  • C++14
  • CAML
  • SWIFT
  • PRLG
  • RUST
  • ICK
  • SCM_QOBI
  • C
  • NODEJS
  • C++_4.3.2
  • FORT
  • JAVA
  • SCM_GUILE
  • LISP_SBCL
  • LISP_CLISP
  • KOTLIN
  • NICE

To know more about codechef supported compilers, visit https://www.codechef.com/wiki/list-compilers

Status Codes

  • AC - Correct Answer
  • WA - Wrong Answer
  • TLE - Time Limit Exceeded
  • RTE - Run Time Error
  • CTE - Compile Time Error

About

Python script to download code chef solutions for a problem

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages