Skip to content

JennyKozi/Shopping_List

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping

Use the Makefile to compile, run and clean using the following commands:

Compile All programs

make

Compile One Program

make shoprec
make shopmem
make shopdp
make shopmemcosts
make shopdpcosts

Run Programs

./shoprec 3000 < files/shop.txt
./shoprec 5000 < files/shop.txt
./shoprec 8800 < files/shop.txt
./shoprec 1400 < files/shop.txt
./shopmem 3000 < files/shop.txt
./shopmem 5000 < files/shop.txt
./shopmem 8800 < files/shop.txt
./shopmem 1400 < files/shop.txt
./shopdp 3000 < files/shop.txt
./shopdp 5000 < files/shop.txt
./shopdp 8800 < files/shop.txt
./shopdp 1400 < files/shop.txt
./shopmemcosts 3000 < files/shop.txt
./shopdpcosts 3000 < files/shop.txt
./shopmemcosts 5000 < files/shop.txt
./shopdpcosts 5000 < files/shop.txt
./shopmemcosts 8800 < files/shop.txt
./shopdpcosts 8800 < files/shop.txt

Clean After Execution

make clean