Update README.md
Browse filesAdd comments about dataset files
README.md
CHANGED
|
@@ -12,6 +12,28 @@ configs:
|
|
| 12 |
path: output_dataset.parquet
|
| 13 |
|
| 14 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
This dataset contains every Facebook/Meta Hacker Cup problem from 2011 through 2023. For each problem, you'll find these files:
|
| 17 |
|
|
@@ -19,6 +41,8 @@ This dataset contains every Facebook/Meta Hacker Cup problem from 2011 through 2
|
|
| 19 |
* `<problem_name>.in`: The full input file
|
| 20 |
* `<problem_name>.out`: The full output file
|
| 21 |
* 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
|
|
|
|
|
|
|
| 22 |
|
| 23 |
Note that for problems from 2011 thorugh 2019, the problems were initially typeset in html. For those problems you can find:
|
| 24 |
|
|
@@ -29,7 +53,7 @@ For these problems, the Markdown version of the statement (`<problem_name>.md`)
|
|
| 29 |
For some problems, written solutions/analyses are available:
|
| 30 |
|
| 31 |
* `<problem_name>.sol.md`
|
| 32 |
-
|
| 33 |
For some problem, code solutions are available:
|
| 34 |
|
| 35 |
* `<problem_name>.(cpp|py|java)`
|
|
@@ -40,6 +64,11 @@ Some problems contains references to images that look like this:
|
|
| 40 |
|
| 41 |
In the same folder as the problem statement, you can find `<photo_id>.jpg` or `<photo_id>.gif`
|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
## Citation
|
| 44 |
|
| 45 |
If you use this dataset, please cite it as follows:
|
|
|
|
| 12 |
path: output_dataset.parquet
|
| 13 |
|
| 14 |
---
|
| 15 |
+
# Data Preview
|
| 16 |
+
|
| 17 |
+
The data available in this preview contains two datasets:
|
| 18 |
+
|
| 19 |
+
1. **Full Dataset ("full")**: This dataset includes data from 2011 to 2023.
|
| 20 |
+
2. **Sample Dataset ("sample")**: This is a subset of the full dataset, containing data from 2023.
|
| 21 |
+
|
| 22 |
+
## Fields
|
| 23 |
+
|
| 24 |
+
The dataset include the following fields:
|
| 25 |
+
|
| 26 |
+
- `name` (string)
|
| 27 |
+
- `year` (string)
|
| 28 |
+
- `round` (string)
|
| 29 |
+
- `statement` (string)
|
| 30 |
+
- `input` (string)
|
| 31 |
+
- `solution` (string)
|
| 32 |
+
- `code` (string)
|
| 33 |
+
- `sample_input` (string)
|
| 34 |
+
- `sample_output` (string)
|
| 35 |
+
- `images` (array of base64 image strings)
|
| 36 |
+
|
| 37 |
|
| 38 |
This dataset contains every Facebook/Meta Hacker Cup problem from 2011 through 2023. For each problem, you'll find these files:
|
| 39 |
|
|
|
|
| 41 |
* `<problem_name>.in`: The full input file
|
| 42 |
* `<problem_name>.out`: The full output file
|
| 43 |
* 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
|
| 44 |
+
* `<problem_name>_sample_input.txt`: The sample input provided by the problem statement
|
| 45 |
+
* `<problem_name>_sample_output.txt`: The sample output provided by the problem statement
|
| 46 |
|
| 47 |
Note that for problems from 2011 thorugh 2019, the problems were initially typeset in html. For those problems you can find:
|
| 48 |
|
|
|
|
| 53 |
For some problems, written solutions/analyses are available:
|
| 54 |
|
| 55 |
* `<problem_name>.sol.md`
|
| 56 |
+
**
|
| 57 |
For some problem, code solutions are available:
|
| 58 |
|
| 59 |
* `<problem_name>.(cpp|py|java)`
|
|
|
|
| 64 |
|
| 65 |
In the same folder as the problem statement, you can find `<photo_id>.jpg` or `<photo_id>.gif`
|
| 66 |
|
| 67 |
+
## Notes
|
| 68 |
+
|
| 69 |
+
- Solutions prior to 2019 do not contain markdown solution files.
|
| 70 |
+
- The 2019 markdown solutions are not included in the dataset but can be found in `.cpp` files.
|
| 71 |
+
|
| 72 |
## Citation
|
| 73 |
|
| 74 |
If you use this dataset, please cite it as follows:
|