CoolFace
Datasetpublic

hackercupai/hackercup

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)… See the full description on the dataset page: https://huggingface.co/datasets/hackercupai/hackercup.

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
24likes2.2kdownloads
second_friend_sol.md6 linesDownload Raw Back to quals
1If a grid has only one row or one column, then it's impossible for every tree to be adjacent to two other trees, since the outermost tree(s) can only have one friend. The only exception is if the grid is initially empty, in which case the requirement is vacuously true.2 3Otherwise, for a grid with at least two rows and columns, notice that filling the entire grid with trees will always leave every tree with at least two friends.4 5[See David Harmeyer's solution video here.](https://youtu.be/aC0n8sB2BLs)6