This repository contains exercises developed for the completion of the Algorithm Design course at ICMC-USP, using advanced C++ programming.
To run the exercises and test cases, you will need:
- G++
- Make
Each folder represents an exercise and contains a corresponding file named main.cpp. Therefore, when executing the commands, you must define the EX variable, which indicates the path to the specific exercise.
To compile:
make EX=./pathTo run the tests cases:
make tests EX=./pathTo execute the program:
make run EX=./pathTo debug a result (you must add the test case number in the IN variable):
make debug EX=./path IN=1To clean the build files:
make clean EX=./path