Datasets:

Modalities:
Image
Text
Formats:
parquet
Size:
< 1K
Tags:
code
Libraries:
Datasets
pandas
License:
hackercup / README.md
amhoak's picture
Update README.md
f54b8f1 verified
|
raw
history blame
2.64 kB
metadata
license: apache-2.0
pretty_name: Meta Hacker Cup 2011-2023
tags:
  - code
configs:
  - config_name: default
    data_files:
      - split: sample
        path: output_dataset_sample_2023.parquet

Data Preview

The data available in this preview contains two datasets:

  1. Full Dataset ("full"): This dataset includes data from 2011 to 2023.
  2. Sample Dataset ("sample"): This is a subset of the full dataset, containing data from 2023.

Fields

The dataset include the following fields:

  • name (string)
  • year (string)
  • round (string)
  • statement (string)
  • input (string)
  • solution (string)
  • code (string)
  • sample_input (string)
  • sample_output (string)
  • images (array of base64 image strings)

This dataset contains every Facebook/Meta Hacker Cup problem from 2011 through 2023. For each problem, you'll find these files:

  • <problem_name>.md: The problem statement formatted in Markdown
  • <problem_name>.in: The full input file
  • <problem_name>.out: The full output file
    • Note that some problems accept multiple possible outputs, in which case the full output file is simply an example of an output that would be accepted
  • <problem_name>_sample_input.txt: The sample input provided by the problem statement
  • <problem_name>_sample_output.txt: The sample output provided by the problem statement

Note that for problems from 2011 thorugh 2019, the problems were initially typeset in html. For those problems you can find:

  • <problem_name>.html: The problem statement formatted in HTML

For these problems, the Markdown version of the statement (<problem_name>.md) was automatically generated from the HTML version and may contain errors.

For some problems, written solutions/analyses are available:

  • <problem_name>.sol.md ** For some problem, code solutions are available:

  • <problem_name>.(cpp|py|java)

Some problems contains references to images that look like this:

  • {{PHOTO_ID:<photo_id>}}, example: {{PHOTO_ID:923060468192530}}

In the same folder as the problem statement, you can find <photo_id>.jpg or <photo_id>.gif

Notes

  • Solutions prior to 2019 do not contain markdown solution files.
  • The 2019 markdown solutions are not included in the dataset but can be found in .cpp files.

Citation

If you use this dataset, please cite it as follows:

@misc{2024hackercupai,
  title = {2024 Hacker Cup Dataset},
  author = {May, Wesley and Harmeyer, David and Yang, Weiwei and Saroufim, Mark and Isaacson, Joe and Antiga, Luca and Bowyer, Greg and Guessous, Driss and Puhrsch, Christian and Rao, Supriya and Li, Margaret},
}