Monday, March 10, 2014

UVa Solution 136 : Ugly Number


#include<cstdio>
#include<cstring>
#include<cmath>
#include<iostream>
using namespace std;

int main()
{
    printf("The 1500'th ugly number is 859963392.\n");
    return 0;
}


No comments:

Post a Comment

Compare equality of two string in C

#include <stdio.h> #include<string.h> int main() {     char* country = "Bangladesh";     char* country2;     ...