I get [28 0 9 2 26 7] for test case 2 and [0 13 0 0 0 11] for test case 3.
I am not quite sure where did that amp came from in test-2.
it wasn't in my original test suite.
in test-3, grave accent is not a punctuation mark - so far i know.
For some reason, according to Matlab function isstrprop, the characters $ + < = > ^ ` | ~ are not considered to be punctuation marks, or letters, or digits, or anything else--this seems to be discriminatory and unjust.
Project Euler: Problem 7, Nth prime
Project Euler: Problem 10, Sum of Primes
Without the French accent please!
Make a 1 hot vector
Is this triangle right-angled?
The length of the equal sides of an isoceles triangle is 'a'.For all the possible (integer) values of the remaining side,find the associated angles between the two equal sides.
Cat's paw - 01
Minimal Path - 04
Check Digit - 02
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