CoolFace
Datasetpublic

HoangLe1312/codecontests_editorials

Competitive Programming Editorials Dataset This dataset provides a collection of competitive programming problem editorials sourced from Codeforces. Each entry includes essential details about the problem, such as tags, difficulty rating, and a comprehensive editorial written in Markdown format for clear readability. Dataset Details The dataset includes the following fields: name: The title or name of the problem. tags: Relevant tags associated with the problem… See the full description on the dataset page: https://huggingface.co/datasets/HoangLe1312/codecontests_editorials.

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes30downloads
Dataset Card

Competitive Programming Editorials Dataset

This dataset provides a collection of competitive programming problem editorials sourced from Codeforces. Each entry includes essential details about the problem, such as tags, difficulty rating, and a comprehensive editorial written in Markdown format for clear readability.

Dataset Details

The dataset includes the following fields:

  • name: The title or name of the problem.
  • tags: Relevant tags associated with the problem, like algorithms, data structures, or specific concepts.
  • rating: The difficulty rating of the problem, based on Codeforces’ rating system.
  • description: A concise description of the problem.
  • editorial: The cleaned and formatted editorial written in Markdown. These editorials provide step-by-step explanations and solutions to the problems.

Source

The problems and editorials are sourced from:

  • [Codeforces](https://codeforces.com): A platform known for regular competitive programming contests and a diverse range of problem difficulty.

Format

All editorials are written in Markdown for enhanced readability and easy integration with Markdown viewers or editors.

Example Entry

json
{
  "name": "1000_A. Codehorses T-shirts",
  "tags": ["greedy", "implementation"],
  "rating": 1200,
  "description": "Codehorses has just hosted the second Codehorses Cup. This year, the same as the previous one, organizers are giving T-shirts for the winners...",
  "editorial": "First, let us remove all coinciding entries of both lists. The most convenient way to do this is to use a `map` or `hashmap`, but it is not the only option..."
}

Usage

This dataset can be used for fine-tuning LLM to solve competitive programming.

License

Please refer to the dataset's licensing terms on the platform where it is hosted.

Acknowledgments

A special thanks to the creators of Codeforces for their platform, which makes this resource possible. This dataset aims to provide clean, well-formatted editorials for educational purposes.