Mathei (v. 1.15) Разработано Fabio Angeli |
Are given
@ a set composed of numbers and operations
@ a number which we call "result"
Find a mathematical expression using no more than once one of the elements of the [also not all]
such that its resolution is equal to the result
You can use parentheses
For example
are given
@ (* - * 4 3 2 6)
@ result = 0
A possible solution is the expression
4 * 3-2 * 6 = 0
|
|
|