Nice problem to learn the use of java inside Matlab.
BigInteger of doubles above 128 does odd things. BigInteger(num2str(v_dbl)) will work up to 2^53. I did not go into BigInteger limitations.
Usage of BigInteger will cause headaches. The Challenge is BigDecimal.
Back to basics 19 - character types
How many trades represent all the profit?
Find nearest prime number less than input number
Replace multiples of 5 with NaN
Who is the smartest MATLAB programmer?
GJam 2013 China Event: Happy Teams 100 Pairs
USC Fall 2012 ACM Question A : Read Input File
Memory Map File: Access and Update
Criss_Cross_010 : Unique elements, Square array, Words in one array
GJam 2014 China Rd A: Rational Number Tree (Large Values)
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