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