Random Thoughts in class

Source: Internet
Author: User

1. Avoid duplication of topics;
2. Can be customized (quantity | printing method);
3. The following parameters can be controlled: whether there is a multiplication method, whether there are brackets, the range of values, plus or minus a negative number, division has the zero,
Whether the score is supported (true score, false score, ...) ), whether to support decimals (precise to how many bits), the interval of each line in the print
can be adjusted.

1. For the implementation of the requirement one, a stack is designed, and the first and second operand records are generated, including the generation of operators, making a record
The properties of the newly generated node are compared to the previously generated nodes, which can be implemented when the requirements for non-repetition are met.
2. Customizable number of solutions can redefine the number of cycles, human-computer interaction to generate custom problems, in the output can be achieved.

3. Whether there is a multiplication method, the selection of the operator is controlled by changing the value of the OPERAOR, whether there are parentheses, the range of values
The control to the value1,value2 of the remainder operation can control its range;

Random Thoughts in class

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.