Smallest Common Multiple -- add a note about // noprotect
See original GitHub issueChallenge Name
https://www.freecodecamp.org/challenges/smallest-common-multiple
Issue Description
My code failed the last test, but passed with // noprotect
in the top. I figured it out when reading this post.
My suggestion is to add a line in the description about // noprotect
. Or to update the error message to ask people to make a more efficient algorithm. Otherwise people make inefficient algorithms like mine would be quite confused why it does not pass.
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Smallest Common Multiple - Infinite Loop - Stack Overflow
I think the first thing to do is read up on how to find the LCM of two numbers, setting aside the task...
Read more >Least common multiple (video) - Khan Academy
Sal finds the LCM ( least common multiple ) of 12 and 36, and of 12 and 18. He shows how to do...
Read more >Least common multiple review (article) | Khan Academy
LCM stands for least common multiple. The least common multiple of two numbers is the smallest number that is a multiple of both...
Read more >Smallest Common Multiple Test Case Bug
I debugged the code in Chrome Inspect element and the code passes all the test cases mentioned below the question. When I run...
Read more >Least Common Multiple - Math is Fun
The smallest positive number that is a multiple of two or more numbers. ... Example: Least Common Multiple of 3 and 5: List...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not able to reproduce the issue with the code snippets in this thread, this issue can probably be closed.
I have also this issue with my code (not very optimised):
When I run this in the chrome browser it works, but in freecodecamp it doesn’t. I also added // no protect but doesn’t seem to work.