diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,11 +1,12 @@ #include <stdio.h> +#include <time.h> #define PRINT_ITEM_FREQUENCY -// #define PRINT_ON_WALK -// #define SAVE_TO_FILE_ON_WALK "walk.txt" -#define WALK_LEN 1000000 +#define PRINT_ON_WALK +// #define SAVE_TO_FILE_ON_WALK "out.txt" +#define WALK_LEN 100 -#define ITEM_CAP 30 +#define ITEM_CAP 400 int ITEMS = 0; double chain[ITEM_CAP][ITEM_CAP] = {0}; @@ -16,9 +17,9 @@ char item_names[ITEM_CAP][64] = {0}; int main(void) { srand(time(NULL)); - generate_chain("files/chain.txt"); + generate_chain("files/in.txt"); - print_chain(); + // print_chain(); take_walk(); return 0; } |