Coder Social home page Coder Social logo

codeforces-bot's Introduction

This is a Codeforces bot. It helps you download all the problem statements and input-output of a contest.

HOW TO USE THIS BOT:

  1. install python3 on your pc
  2. get the url of the codeforces contest(ex : https://codeforces.com/contest/1411 )
  3. run this code and give this url as a system argument(ex : " python3 cf.py https://codeforces.com/contest/1411 " )

It will make a folder in your working directory (directory in which you run the script), and inside that folder it will create subfolders for each problem. It also makes a shell script to run c++ code.

HOW TO RUN YOUR C++ CODE:(For Linux users only)

  1. navigate to the folder where all the files are present

  2. run this command to give permission to the shell script( "chmod +x cp.sh" )

  3. run "./run contest_id problem_number", for ex "./run 1411 A"

    Note:

    1. constest_id is unique number in url of contest, for example in https://codeforces.com/contest/1411 contest code is 1411
    2. problem number is A, B,C etc. It will compile and execute your code and compare your output with the actual output.

codeforces-bot's People

Contributors

mandeepvirang avatar rajneesh04 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.