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.
The Goldbach Conjecture, Part 2
How to find the position of an element in a vector without using the find function
Make one big string out of two smaller strings
Back to basics 1 - Saving
Unique values without using UNIQUE function
Moving Median Absolute Deviation
Project Euler: Problem 14 Longest Collatz sequence
What can you get for exactly amount of money(harder)
Project Euler 249: Prime Subset Sums
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