Problem 45487. Check Digit - 02
Solution Stats
Problem Comments
-
1 Comment
I saw you optimize it again, Binbin have to work harder...
cospi is some move indeed.Inspired by that, I used it in generating a checkboard matrix(cody problem 4).
Solution Comments
-
1 Comment
ISBN 10 and 13 are the only valid ones. TIL.
-
1 Comment
wrote this just to see the leading solution. If you are looking for a good solution to avoid multiple if-else or try-catch, please redirect yourself to Solution 2249978.
-
3 Comments
Excellent work! It's good to see you back.
well this is triggered and inspired by the blog post of you and binbin!
haha, know this: after you post this solution, Binbin took a while to figure out how to beat this sol in size
and he actually did it.:)
Problem Recent Solvers14
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
14229 Solvers
-
Find the two most distant points
2110 Solvers
-
Calculate distance travelled when given radius and rotations
197 Solvers
-
Create an index-powered vector
490 Solvers
-
298 Solvers
More from this Author149
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!