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 Solvers15
Suggested Problems
-
6931 Solvers
-
725 Solvers
-
655 Solvers
-
Calculate the area of a triangle between three points
2221 Solvers
-
463 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!