Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
JieningYu committed Dec 27, 2022
1 parent db79d92 commit e6bbf3f
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,22 @@ This is a simple 24 points solver written in rust.
## Example

```log
6 7 12 7
(6 + 7) + (7 ^ 12)
6 + (7 + (7 ^ 12))
6 * (7 & (7 * 12))
(6 & 7) * (7 & 12)
6 * (7 & (7 & 12))
6 << (7 + (7 - 12))
(6 << 7) >> (12 - 7)
6 << (7 - (12 - 7))
6 << (7 ^ (12 - 7))
Found 9 solutions in 0.014 ms
7 7 4 2
2 * (7 ^ (4 + 7))
(2 - 7) & (4 * 7)
4 ^ (2 * (7 + 7))
4 * (7 & (2 * 7))
4 ^ (7 << (2 & 7))
4 * (7 - (7 >> 2))
4 * (7 ^ (7 >> 2))
(4 & 7) ^ (7 << 2)
(4 ^ 7) << (7 / 2)
(7 << 2) - (4 & 7)
(7 / 2) << (4 ^ 7)
(7 / 2) << (7 - 4)
(7 - 4) << (7 / 2)
(7 * 7) >> (4 >> 2)
Found 14 solutions in 2.101 ms
```

## Operators
Expand Down

0 comments on commit e6bbf3f

Please sign in to comment.