2.0.5 • Published 10 months ago

cf-contest v2.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
10 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

10 months ago

2.0.5

10 months ago

2.0.4

10 months ago

2.0.2

10 months ago

2.0.1

10 months ago

2.0.0

10 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago