lotto.c
changeset 9 c3fecc82ade6
parent 8 96d16dfe787a
child 27 81a574d60c15
equal deleted inserted replaced
8:96d16dfe787a 9:c3fecc82ade6
     1 /**
     1 /**
     2  * $Id: main.c,v 1.1.1.1 2008-04-28 17:32:53 mbroeker Exp $
     2  * test/demos/lotto.c
     3  * $Author: mbroeker $
       
     4  *
       
     5  * lotto.c
       
     6  * computes the best n lottery-values from m loops out of [1..end]
     3  * computes the best n lottery-values from m loops out of [1..end]
     7  *
     4  *
     8  *  ------------------------------------------------------------------------------
     5  *  ------------------------------------------------------------------------------
     9  * | ==18509== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 13 from 1)    |
     6  * | ==18509== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 13 from 1)    |
    10  * | ==18509== malloc/free: in use at exit: 0 bytes in 0 blocks.                  |
     7  * | ==18509== malloc/free: in use at exit: 0 bytes in 0 blocks.                  |
    11  * | ==18509== malloc/free: 10,003 allocs, 10,003 frees, 280,600 bytes allocated. |
     8  * | ==18509== malloc/free: 10,003 allocs, 10,003 frees, 280,600 bytes allocated. |
    12  *  ------------------------------------------------------------------------------
     9  *  ------------------------------------------------------------------------------
    13  *
       
    14  */
    10  */
    15 
    11 
    16 #include <stdio.h>
    12 #include <stdio.h>
    17 #include <stdlib.h>
    13 #include <stdlib.h>
    18 #include <getopt.h>
    14 #include <getopt.h>