A Rust-based tool for solving crypto-arithmetic puzzles, where each letter represents a unique digit.
- Convert words to numerical values based on character-to-digit mappings.
- Check the validity of solutions for given words and result.
- Solve crypto-arithmetic puzzles with up to 10 unique letters.
To run the program, use the following commands:
cargo build
cargo run
Two Words as Input, Separated with Whitespace? SEND MORE
Result String? MONEY
SEND + MORE = MONEY
Solution found: SENDMORE
S = 9
E = 5
N = 6
D = 7
M = 1
O = 0
R = 8
Y = 2