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.


       FULL SOURCE CODE

No comments:

Post a Comment