Problem 44784. Project Euler: Problem 14 Longest Collatz sequence(harder version)
Solution Stats
Problem Comments
-
4 Comments
@ Binbin Qi
Why not setting the upper time limit?
What is the running time of your solution on cody computer?
@Binbin Qi
Please print the variable "t" to help to profile.
@li haitao, I have fix the code, and you should see my running time.
@Binbin Qi,
Almost same with you. I tried many times, but could not speed up any
more.
Want to see some faster solutions in the future.
Problem Recent Solvers3
Suggested Problems
-
1115 Solvers
-
Back to basics 18 - justification
181 Solvers
-
MATCH THE STRINGS (2 CHAR) very easy
259 Solvers
-
641 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
436 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!