-
2 Comments
Mohamed B.S.
on 14 May 2013
How does this work?
bartekltg
on 15 May 2013
This is precomputation, lookup table. Quite common method, when input variable is from small set(and computation long and hard). Now I think it is cheating in this competition, sorry:]
Suggested Problems
-
968 Solvers
-
Sum of diagonal of a square matrix
1590 Solvers
-
Who has power to do everything in this world?
453 Solvers
-
the average value of the elements
1780 Solvers
-
2314 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!