20 lines
250 B
Text
20 lines
250 B
Text
>try24([1,2,3,4]);
|
|
Solved the problem
|
|
6*4=24
|
|
3+3=6
|
|
1+2=3
|
|
>try24([8,7,7,1]);
|
|
Solved the problem
|
|
22+2=24
|
|
14+8=22
|
|
7+7=14
|
|
>try24([8,4,7,1]);
|
|
Solved the problem
|
|
6*4=24
|
|
7-1=6
|
|
8-4=4
|
|
>try24([3,4,5,6]);
|
|
Solved the problem
|
|
4*6=24
|
|
-1+5=4
|
|
3-4=-1
|