HH, you get no credit for hacking the problem. Only legitimate solutions gain credit.
A commendable solution! The first submission, and a respectable size, sure. But something else setting this apart is the professional-looking use of comments throughout the submission, which provides great insight — without any penalty! Atsushi Ueno is the only one of the first ten solvers to do this (despite the explicit cue). Others maybe should also tackle Problem 44405.
Energy of a photon
Count up then down
convert matrix to single column
Length of a short side
Back to basics: adding comments to your code
Anyone for tennis? Your chances of winning a (standard) game
Make your own Test Suite (part 3)
Make your own Test Suite (part 2)
Code breaker, Part III: Operation Xiangliu
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office