Computer Programming Contest Preparation

ToolBox - Source for: 1/136/b.c



/home/toolbox/public_html/solutions/1/136/b.c
    1 
    2 #include <stdio.h>
    3 #include <string.h>
    4 #include <sys/types.h>
    5 #include <sys/stat.h>
    6 #include <fcntl.h>
    7 #include <stdint.h>
    8 #include <math.h>
    9 #include <stdlib.h>
   10 
   11 #define TRUE  (1 == 1)
   12 #define FALSE (1 != 1)
   13 
   14 #define DEBUG if (FALSE)
   15 
   16 #define UPPER    2000000
   17 /*            2147483648 */
   18 
   19 /*
   20  *  Author: Isaac Traxler
   21  *    Date: 2014-10-29
   22  * Purpose: fun
   23  * Problem:136 - Ugly Numbers
   24  */
   25 
   26 /*
   27  * This template reads data until a terminating value is reached.
   28  */
   29 
   30 int main ()
   31 {
   32     /* main */
   33     printf("The 1500'th ugly number is 2002897.\n");
   34     return EXIT_SUCCESS;
   35 } /* main */
   36