Arithmetic solver for IRC puzzles
  • C 96.1%
  • Makefile 3.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-04-05 02:07:40 -04:00
src Use floating points, remove integer division. 2026-04-05 01:51:57 -04:00
.gitignore Housekeeping; ignore release .tar.gz 2026-04-05 02:07:40 -04:00
LICENSE.txt Initial commit 2026-03-28 02:46:19 -04:00
Makefile Initial commit 2026-03-28 02:46:19 -04:00
README.md Initial commit 2026-03-28 02:46:19 -04:00

HCl (Hydrochloric acid)

This is a simple arithmetic solver, designed to defeat (dissolve) tinsoldier's puzzles! (see ##chat on irc.libera.chat to play)

Usage

  1. Compile the program
make

This produces the executable ./hcl

  1. Run the program with input from stdin in the following format:
TARGET; N1 N2 N3 ...
  • TARGET is your target integer
  • N1 N2 N3 ... is your number bank (maximum 6 currently)

Example:

echo "629; 50 5 1 3 6 6" | ./hcl

License

See LICENSE.txt