refine the lottery algorithm to reduce its computational complexity

Dependencies:   C12832 mbed

Fork of app_board-Lottery by WuLung Hsu

Revision:
1:c9dba148697b
Parent:
0:e0789676dfe5
Child:
2:254e72dcfb52
diff -r e0789676dfe5 -r c9dba148697b main.cpp
--- a/main.cpp	Wed Jul 20 09:15:23 2016 +0000
+++ b/main.cpp	Wed Jul 20 09:19:00 2016 +0000
@@ -1,6 +1,7 @@
 /**
-README: The Lottery toy that used in LASS Users and Developers conference.
+README: The Lottery toy that used in LASS(http://lass-net.org/) Users and Developers conference 2016.
     Each run will generate GIFT_MAXCNT non-repeat number, random range ( 1 to MAN_MAXCNT )
+Hardware: mbed LPC1768 + mbed Application Board
 */
 #include "mbed.h"
 #include "C12832.h"