Your solution is the same with mine, from the alogrithm view.
Your code style is MATLAB style, while my solution is C/ C++ style.
Yes, I saw your solution and change it to vector style.
Your solution is the same with mine, even the variable names.
Are you cheating?
I know, you just copy my solution in "Problem 44747. Exponents in Factorials".
@li haitao, it doesn't matter. It is hard to say James copy your solution. It is possible two codes are same in cody. Even copy, please don't mind. I also copy other's code to solve cody problem.
I don't mind, I just curious in the beginning.
A few minutes later, I know the reason, but I can not delete the comments, may be there are some bugs in cody sites.
@li haitao, there is a button named Delete which is bule in southeast of the comment box.
Make an N-dimensional Multiplication Table
Twins in a Window
Who knows the last digit of pi?
Next Lower Power of B
matrix of natural number
Moving Median Absolute Deviation
Project Euler 249: Prime Subset Sums
What can you get for exactly amount of money(harder)
Project Euler: Problem 14 Longest Collatz sequence
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