From 3ca0ae80729086a7e483d1eddf8bdbbb46582c29 Mon Sep 17 00:00:00 2001 From: kartofen Date: Thu, 25 Aug 2022 11:20:45 +0300 Subject: make example default --- build.sh | 2 +- src/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 46f2dc0..f1befea 100755 --- a/build.sh +++ b/build.sh @@ -34,6 +34,6 @@ gcc -o $BIN/gen_chain $FLAGS $SRCD/gen_chain.c if ! { [[ $RUN -eq 0 ]]; } 2> /dev/null then - # $BIN/gen_chain + $BIN/gen_chain $BIN/main fi diff --git a/src/main.c b/src/main.c index 01dfe23..46b9a4c 100644 --- a/src/main.c +++ b/src/main.c @@ -2,9 +2,9 @@ #include #define PRINT_ITEM_FREQUENCY -#define PRINT_ON_WALK +// #define PRINT_ON_WALK // #define SAVE_TO_FILE_ON_WALK "out.txt" -#define WALK_LEN 100 +#define WALK_LEN 10000 #define ITEM_CAP 400 int ITEMS = 0; -- cgit v1.2.3