Subversion Repositories Remote Hare Voting

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
61 jtkorb 1
SUMMARY AFTER 10 TIMES
2
 10 ['B', 'A', 'C']
3
 
4
INPUT SUMMARY AND RUN TRACE
5
	15 ballots
6
	Choosing 3 winners
7
	Need ceil((15 + 1)/(3 + 1)) = 4 ballots to win
8
 
9
	BALLOT MARKS	1ST	2ND	NONE
10
	A                 5	  6	   0
11
	B                 6	  9	   0
12
	C                 4	  0	   0
13
	D                 0	  0	   0
14
	E                 0	  0	   0
15
	H                 0	  0	   0
16
	I                 0	  0	   0
17
 
18
.....
19
Number of random choices made: 8
20
 
21
FINAL RESULTS
22
	B
23
	A
24
	C