Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
What is the Nth prime nu...
Project Euler: Problem 5, Smallest multiple
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smalle...
Is this number Munchhausen?
In this problem, simply return 1 if a supplied number is Munchhausen or 0 if not.
Example
153 is narcissistic but not a Munchh...
2年以上 前
解決済み
Find the 9's Complement
Find the 9's complement of the given number.
An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...