summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c
index 2cfd44f..d736879 100644
--- a/src/common.c
+++ b/src/common.c
@@ -49,6 +49,8 @@ void print_data(struct data * d){
void print_front(struct front_item * b){
struct front_item * beg = b;
+
+ printf("Profit, Weight, Time\n");
while(b!=NULL){
clock_t t = b->time - beg->time;
printf("%.02f,\t%.02f,\t%f\n", b->i.p, b->i.w, ((double)t)/CLOCKS_PER_SEC);