this is a bad stv implementation
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
akraak 86509d7db2 Update 'readme.md' 3 年前
index.js this is still a bad thing 3 年前
readme.md Update 'readme.md' 3 年前

readme.md

sorry its js xx

function(candidates, ballots, seatsToFill)

  • candidates is an array i think of just the candidates
  • ballots is an array of people in order of preference
  • seats to fill is a number probably