The 8th test case is correct and can be solved within Cody's time limit. Why is it not being used? Up to 200.000, there are 20 amicable pairs.
For instance 176272,180848 is the 20th pair. For 3e5 my code can't go fast enough for Cody (45s), but I've found just 2 additional pairs 196724, 202444 and 185368, 203432.
Number of toolboxes?
Specific Element Count
Vectorizing, too easy or too hard?
Convert a structure into a string
Convert from Base 10 to base 5
Game of life - 02
ZigZag - 02
Take a binary number as input,rearrange it in any manner such that its value is greater than the original one.output should be all the possible values in decimal.
find nth even fibonacci number
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