Repository concerning the test and the main problem of the Google Hashcode competition of 2021.
| Name | Surname | Github Username |
|---|---|---|
| Emanuele | Beozzo | emanuelebeozzo |
| Leonardo | Xompero | leonardo-xompero |
| Samuele | Bortolotti | samuelebortolotti |
| Simone | Alghisi | Simone-Alghisi |
The repository is structured in the following way:
.
├── bin
├── hashcode_2021_online_qualifications.pdf
├── input
│ ├── a.txt
│ ├── b.txt
├── Makefile
├── output
│ ├── output_a.txt
│ ├── output_b.txt
├── README.md
├── src
│ └── main.cpp
└── training
└── practice-problem
├── bin
├── input
│ ├── a_example
├── Makefile
├── output
│ ├── output_a_example
├── practice_round_2021_v3.pdf
└── src
└── main.cppIn order to set up the project you first need to compile it using GNU/Make:
make buildThen run the program with input the file you want to process in the following way:
./bin/main file_0.txt ... file_n.txtThe result can be found in the output folder.
Instead of running those two commands in chain, you can directly run the following line to first compile the C++
file and then run it using the input whose index is specified by the FILE variable value.
make run FILE=2For more information run
make help