这是一个用枚举算法写的计算器,通过不断组合数字和运算符号直到算出的结果是24为止。
这是一种笨拙的方法,计算一些组合需要循环上亿次,一个无解的组合需要循环484848410
次,但理论上能计算所有组合。
关于算法方面后续会更新。
-
Notifications
You must be signed in to change notification settings - Fork 0
License
Traveler-NH/twenty-four_point_calculator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published