This is the blog of site xoptutorials.com. All the news will be posted here and on the facebook page of xoptutorials.
Pages
▼
Friday, October 3, 2014
ACM 1263. Elections / Выборы
let us have an array vote[10000] where vote[I] shows the number of votes received by the candidate I. We fill this array while reading the input and then after that we loop over the numbers from 1 to N and output (vote[I]/m)*100.
No comments:
Post a Comment