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']
3
 
4
INPUT SUMMARY AND RUN TRACE
5
	7 ballots
6
	Choosing 2 winners
7
	Need ceil((7 + 1)/(2 + 1)) = 3 ballots to win
8
 
9
	BALLOT MARKS	1ST	2ND	NONE
10
	A                 3	  4	   0
11
	B                 4	  3	   0
12
 
13
.....
14
Number of random choices made: 1
15
 
16
FINAL RESULTS
17
	B
18
	A