Problem: 136 - ugly numbers
Solution: Java
Hints: http://www.algorithmist.com/index.php/UVa_136
public class Main
{
public static void main(String[] args)
{
System.out.println("The 1500'th ugly number is 859963392.");
}
}
No comments:
Post a Comment