2.0.5 • Published 6 months ago

cf-contest v2.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

CF-Contest-Problem-Scrapper

CF-Contest-Problem-Scrapper is a JavaScript-based tool designed to scrape contest problems from Codeforces During the Contest. This tool helps users to collect and organize problems from various contests for easy access and analysis.

Features

  • Scrape contest problems from Codeforces.
  • Organize and save problem data in a structured format.

Usage

To use the CF-Contest-Problem-Scrapper, run the following command:

cmd :
npx cf-contest
Example :
npx cf-contest
Enter Contest ID : 2026        //contest-id available in contest URL
Your Name :- manish-dev        //name

Folder Structure for Contest

Below is the folder structure for organizing contest problems and their respective files.

contest-name/
│
├── A/
│   ├── input.in
│   ├── output.out
│   ├── expected.out
│   ├── problemstatement.txt
│   └── solution.cpp
│
├── B/
│   ├── input.in
│   ├── output.out
│   ├── expected.out
│   ├── problemstatement.txt
│   └── solution.cpp
│
├── C/
│   ├── input.in
│   ├── output.out
│   ├── expected.out
│   ├── problemstatement.txt
│   └── solution.cpp
│
└── ...

Explanation

  1. contest-name/
    The root folder representing the name of the contest.

  2. A/, B/, C/
    Subdirectories named after individual contest problems.

  3. Files in Each Problem Directory

    • input.in: The input file for the problem.
    • output.out: The generated output after running the solution.
    • expected.out: The expected correct output for comparison.
    • problemstatement.txt: The text file containing the problem statement.
    • solution.cpp: The solution code written in C++.

Add additional problem folders as needed using the same structure (D/, E/, etc.).

2.0.3

6 months ago

2.0.5

6 months ago

2.0.4

6 months ago

2.0.2

7 months ago

2.0.1

7 months ago

2.0.0

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago