Dataset Viewer
The dataset viewer is not available for this dataset.
The JWT signature verification failed. Check the signing key and the algorithm.
Error code:   JWTInvalidSignature
Exception:    InvalidSignatureError
Message:      Signature verification failed
Traceback:    Traceback (most recent call last):
                File "/src/libs/libapi/src/libapi/jwt_token.py", line 286, in validate_jwt
                  decoded = jwt.decode(
                      jwt=token,
                  ...<2 lines>...
                      options=options,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 368, in decode
                  decoded = self.decode_complete(
                      jwt,
                  ...<8 lines>...
                      leeway=leeway,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 265, in decode_complete
                  decoded = self._jws.decode_complete(
                      jwt,
                  ...<3 lines>...
                      detached_payload=detached_payload,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 270, in decode_complete
                  self._verify_signature(
                  ~~~~~~~~~~~~~~~~~~~~~~^
                      signing_input,
                      ^^^^^^^^^^^^^^
                  ...<4 lines>...
                      options=merged_options,
                      ^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 417, in _verify_signature
                  raise InvalidSignatureError("Signature verification failed")
              jwt.exceptions.InvalidSignatureError: Signature verification failed

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Data Preview

The data available in this preview contains a 10 row dataset:

  • Sample Dataset ("sample"): This is a subset of the full dataset, containing data from 2023.

To view full dataset, download output_dataset.parquet. This contains data from 2011 to 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

Starter Kits

Some quick start solutions for working with this data are available at HackerCupAI Repo. Some frameworks include:

The samples show basic steps for data ingest, generating solutions, and evaluation. For an example of data ingest, check out this example

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 Hoak, Amber and Li, Margaret and Dymchenko, Sergii and Yang, Weiwei and Saroufim, Mark},
}
Downloads last month
2,634

Models trained or fine-tuned on hackercupai/hackercup