文件名称:voting
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.78kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
投票规则如下:
1. 每个投票者只可以投一次票. 投票者通过生成的随机数 在第一个到最后一个候选人之间选择一个候选人来进行投票.
2. 每一个候选人都保存着投票者给他们投票的记录
3. 选举之后, 拥有最高投票数的候选人当选.
-The voting rules are as follows:
1. Each voter can vote only once. The voter decides which candidate to choose by generating a random number between 1 and the total number of candidates.
2. Each candidate maintains a record of the voters that voted for him
3. After election, the candidate with the highest number of votes is elected
1. 每个投票者只可以投一次票. 投票者通过生成的随机数 在第一个到最后一个候选人之间选择一个候选人来进行投票.
2. 每一个候选人都保存着投票者给他们投票的记录
3. 选举之后, 拥有最高投票数的候选人当选.
-The voting rules are as follows:
1. Each voter can vote only once. The voter decides which candidate to choose by generating a random number between 1 and the total number of candidates.
2. Each candidate maintains a record of the voters that voted for him
3. After election, the candidate with the highest number of votes is elected
(系统自动生成,下载前可以参看下载内容)
下载文件列表
voting.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.