Coder Social home page Coder Social logo

24game's Introduction

English

24 点

寻找 24 点的最佳解法。

寻找最佳解法时首先考察运算过程中是否出现负数(不出现较好),再考察运算过程中是否出现分数(不出现较好),最后考察使用的加减运算数量(越多越好,即乘除越少越好)。

$ g++ ./24.cpp -Wall -std=c++17 -O3 -o ./24
$ ./24

包含了最佳解法的 24.txt24.md 将会被生成在同一目录下。

许可证

MIT

24Game

Find the best solutions of 24.

The best solution comes with no negative number during the calculation process (if possible), no fractions during the calculation process (if possible) and the most plus and minus operators (or the fewest multiply and divide operators).

$ g++ ./24.cpp -Wall -std=c++17 -O3 -o ./24
$ ./24

The 24.txt and 24.md which contain the best solutions will be generated in the same directory.

License

MIT

24game's People

Contributors

nkid00 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.