What is the greatest product of four adjacent numbers in the same direction (up, down, left, right or diagonally) in the 20x20 grid?
First clone the repo:
git clone https://github.com/AlexLandherr/grid_product.git
Change directory to repo:
cd grid_product/
Create a directory called obj
:
mkdir obj
Then build & compile using make
:
make
Run:
./grid_product