Input three digits no larger than 4,say 1,2 and 3, write the possible largest number composed(concatenation and power) only by these three digits and only once.
E.g. input: 1,2,3
output: '3^21=10460353203'
input: 2,3,4
output: '2^3^4=2417851639229258349412352' (calculate from right)
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15793 Solvers
-
Back to basics 22 - Rotate a matrix
937 Solvers
-
Generate N equally spaced intervals between -L and L
947 Solvers
-
Sum of the Multiplication of Vectors
286 Solvers
-
Matrix of almost all zeros, except for main diagonal
191 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The solution in test #4 should be y_correct = '2^10=1024'; rather than y_correct = '2^10=2014';
Thanks