[Community puzzle] Jack Silver: The Casino Part 1

Is there something I don’t understand about this puzzle? I did the math by hand and got the same answer for the first test as my program, which was 15563. But the answer should be 1153.

[I removed the code]

3 posts were merged into an existing topic: [Community Puzzle] Jack Silver: The Casino

A post was merged into an existing topic: [Community Puzzle] Jack Silver: The Casino

6 posts were merged into an existing topic: [Community Puzzle] Jack Silver: The Casino