Answer the question
In order to leave comments, you need to log in
How to automatically pick up signs to get the right number?
Hello.
There are n numbers, and there is a number that should be obtained after the operations of all these n numbers, how to choose the signs?
For example, there are numbers 2,3,4,5, and the final number is 28, we must carry out a checkmate operation with these numbers in order to get 28
Options:
(2 * 5-3) * 4
, etc.
This thought has been tormenting me for a long time, there is only overkill how else is it possible?
Answer the question
In order to leave comments, you need to log in
You can also look at the answer or ask here.
And so the problem is NP-complete, bust.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question