| Semana i 2018 |
|---|
| Закончено |
Diego is looking at some stats from a game and he sees percentages of success for given events. Diego wonders what is the minimum amount of times each event had to happen in order to get that success percent.
An integer N ($$$1 \lt =N \lt =10{^5}$$$), the number of events in the game. N real numbers, each in its own line and with maximum 4 decimals after the point. Note: You should consider that numbers provided in the input are not ceiled, rounded nor truncated. ($$$0 \lt =pi \lt =1$$$)
N integers, the minimum amount of times each event had to occur in order to get that percent.
4
0.20
0.50
0.025
0.3333
5
2
40
10000
| Название |
|---|


