Test Suite has been corrected to NOT allow a vector Input to fill ALL with 2s.
Thank You for identifying this and also that invalid input would Win.
Sum of first n terms of a harmonic progression
Number of 1s in a binary string
Determine if input is a perfect number
Say something funny
GJam 2011 Africa Qual A: Maximum Loop Size
USC Spring 2013 ACM: Relief Supplies
Unique: Faster 'rows' for large array of uint8
Genome Sequence 003R: Sequence DNA of random positioned and flipped segments
AVIRIS Inscribed Rectangle Bit Mask - Speed Test
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