When you are building something with multiple sticks of differents length, and you don't know how many you need to buy / how to cut them, use this program.
$ git clone https://github.com/theo-grivel/buy-stick
$ chmod +x exe.sh
can be excecute know$ ./exe.sh
excecute it$ ./program <length-shop> <length-cut> ...
- ./windows/program.exe
- `$ ./program 200 193 17 9 79 42 80 4
- poutre 193 cm
- poutre 80 cm
- poutre 79 cm
- poutre 42 cm
- poutre 17 cm
- poutre 9 cm
- poutre 4 cm
- long: 193
- long. 4
chute 3 cm
- long: 80
- long. 79
- long. 17
- long. 9
chute 15 cm
- long: 42
chute 158 cm