Group Members:
- Chua, Edric Jarvis
- Cruz, Renz Ezekiel
- Li, Wai Kei
- Yu, Cedric Leopold
- Install the required dependencies
gcc
andmake
. cd
into project root.- Run
make release
to compile executable. - Executable is located at
build/a.out
. - After usage, run
make clean
to remove executable and build artifacts.
- Program reads input from
stdin
. - Input redirection is preferred method for passing inputs (i.e.
build/a.out < input_txt_file_here
). - All inputs are expected to conform to the specifications.
- Other compilation targets:
all
debug
bench
bench-prof
bench
prints output together with CPU execution time.bench-prof
is the same asbench
but with extra compilation flags for profiling with gprof.- Run
./testscript.sh
for info on how to run test cases. (requires optional dependencies)