Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
95d10680c8 | |||
0ae0ad1ed6 |
13
README.md
13
README.md
@@ -2,7 +2,7 @@
|
||||
|
||||
`lceb` will find the best solutions(s) for the
|
||||
[Numbers part of the Countdown game](https://en.wikipedia.org/wiki/Countdown_(game_show)#Numbers_round)
|
||||
"[_Le compte est Bon_](https://fr.wikipedia.org/wiki/Des_chiffres_et_des_lettres#Le_Compte_est_Bon)" in French).
|
||||
("[*Le Compte est Bon*](https://fr.wikipedia.org/wiki/Des_chiffres_et_des_lettres#Le_Compte_est_Bon)" in French).
|
||||
|
||||
## Requisites
|
||||
|
||||
@@ -21,7 +21,7 @@ To display more debug information, you may first enable some DEBUG flags in the
|
||||
```makefile
|
||||
CFLAGS:=$(CFLAGS) -DDEBUG # general (signal handler, etc...)
|
||||
CFLAGS:=$(CFLAGS) -DDEBUG_MAIN # general information in main
|
||||
#CFLAGS:=$(CFLAGS) -DDEBUG_MAINSLEEP # sleep 1 sec within main loop (SIGINTR test)
|
||||
#CFLAGS:=$(CFLAGS) -DDEBUG_MAINSLEEP # sleep 1 sec within main loop
|
||||
#CFLAGS:=$(CFLAGS) -DDEBUG_MAINLOOP # main loop (do not use this!)
|
||||
#CFLAGS:=$(CFLAGS) -DDEBUG_TIMER # timer
|
||||
#CFLAGS:=$(CFLAGS) -DDEBUG_SIGNAL # signal
|
||||
@@ -37,16 +37,17 @@ CFLAGS:=$(CFLAGS) -DDEBUG_MEM # malloc
|
||||
```
|
||||
|
||||
To build the binaries just run:
|
||||
```console
|
||||
$ make lceb
|
||||
|
||||
``` markdown
|
||||
**$ make lceb**
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### basic usage and output
|
||||
|
||||
```console
|
||||
$ ./lceb 2 7 1 7 8 8
|
||||
```markdown
|
||||
**$ ./lceb 2 7 1 7 8 8**
|
||||
timer started...
|
||||
mem: allocating operators working area (5 bytes)
|
||||
new_stack: allocating 1024 stacks
|
||||
|
Reference in New Issue
Block a user