Computer Programming Contest Preparation

ToolBox - Source for: 124/12498/a.c



/home/toolbox/public_html/solutions/124/12498/a.c
    1 #include <stdio.h>
    2 #include <string.h>
    3 #include <sys/types.h>
    4 #include <sys/stat.h>
    5 #include <fcntl.h>
    6 #include <stdlib.h>
    7 #include <math.h>
    8 #include <stdint.h>
    9 #include <ctype.h>
   10 
   11 #define TRUE  (1 == 1)
   12 #define FALSE (1 != 1)
   13 
   14 #define DEBUG if (FALSE)
   15 
   16 /* fprintf(stderr, "functionName: message", varslist); */
   17 
   18 /*
   19  *  Author: Isaac Traxler
   20  *    Date:
   21  * Purpose: fun
   22  * Problem:
   23  */
   24 
   25 /*
   26  * This template reads data a specified number of times.
   27  */
   28 
   29 int numberOfTimes;
   30 
   31 void init()
   32 {
   33     /* FUNCTION init */
   34     scanf("%d ", &numberOfTimes);
   35 } /* FUNCTION init */
   36 
   37 void dump()
   38 {
   39     /* FUNCTION dump */
   40 } /* FUNCTION dump */
   41 
   42 void getInput()
   43 {
   44     /* FUNCTION getInput */
   45 } /* FUNCTION getInput */
   46 
   47 void process()
   48 {
   49     /* FUNCTION process */
   50 } /* FUNCTION process */
   51 
   52 int main()
   53 {
   54     /* main */
   55     int i;
   56 
   57     init();
   58     for (i=0; i<numberOfTimes; i++)
   59         {
   60             /* while */
   61             getInput();
   62             process();
   63         } /* while */
   64 
   65     return EXIT_SUCCESS;
   66 } /* main */
   67 
   68