Find two triangular numbers whose sum is input.
Note: The difference beetween the triangular numbers should be minimum.
When I click on solutions, a single solution is appearing and other solutions are like sub-solutions of this single solution. Something odd is going on here.
That solution is too wide to fit in Cody's editor, and it is automatically truncated into incomplete text (thus is valid only for the first run and becomes invalid upon re-scoring). Since it is very wide, it somehow shifts all other solutions to the right, making them look like sub-solutions.It has been re-scored to invalid and should not give confusion any more.
Ok. Thanks for the explanation.
Extract leading non-zero digit
Project Euler: Problem 6, Natural numbers, squares and sums.
Find a subset that divides the vector into equal halves
Happy Free Wednesday!
Delete the rows in the middle
Challenging perms function!
Good Morning :)
Bridge and Torch Problem - Minimum time
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