Skip to content

Commit

Permalink
update exp
Browse files Browse the repository at this point in the history
  • Loading branch information
JieningYu committed Dec 27, 2022
1 parent addea02 commit 084ad5c
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ This is a simple 24 points solver written in rust.
## Example

```log
7 7 2 9
(2 + 7) + (7 | 9)
2 + (7 + (7 | 9))
(2 - -7) + (7 | 9)
2 + (7 - (-7 & -9))
((2 + 7) | 7) + 9
((2 + 7) | 7) - -9
(2 + 7) - (-7 & -9)
2 - (-7 + (-7 & -9))
2 - (-7 - (7 | 9))
(2 - -7) - (-7 & -9)
((2 - -7) | 7) + 9
((2 - -7) | 7) - -9
((2 * 7) | 7) + 9
((-2 * -7) | 7) + 9
((2 * 7) | 7) - -9
((-2 * -7) | 7) - -9
Found 16 solutions in 0.916 ms
1 9 7 8
(1 * 7) + (8 + 9)
1 * (7 + (8 + 9))
((1 * 7) + 8) + 9
((1 - 7) + 9) * 8
((1 * 7) + 9) + 8
(1 * 8) + (7 + 9)
1 * (8 + (7 + 9))
((1 * 8) + 7) + 9
((1 * 8) + 9) + 7
((1 + 9) - 7) * 8
(1 * 9) + (7 + 8)
1 * (9 + (7 + 8))
((1 * 9) + 7) + 8
((1 * 9) + 8) + 7
7 + (1 * (8 + 9))
(7 / 1) + (8 + 9)
Found 16 solutions in 0.308 ms
```

## Operators
Expand Down

0 comments on commit 084ad5c

Please sign in to comment.