Skip to content
This repository has been archived by the owner on Nov 4, 2019. It is now read-only.

jdh8/chic

Repository files navigation

Chic

This repository is being archived because other free, faster, and more complete solvers exist. I have something more beneficial to do. Farewell!

Tchisla is a math puzzle to make a target number with only one kind of digits, operators +, -, *, /, ^, !, √, and parentheses. The fewer the digits, the higher the score.

This software finds an answer with the fewest digits. The operator √ is precedent to ! because factorials from 2! on are no perfect squares.

Library

This is a header-only library. Include Dictionary.hpp for the main class template Chic::Dictionary.

Command-line program

Compile each .cpp source independently.

License

GPLv3, because this software seems to be the first public implementation.