-->
当前位置:首页 > 题库

PROGRAMMING:Hidden points of LC

Luz5年前 (2021-05-10)题库384
As we all know, $$LC $$is an old Internet addict, and the most popular game he plays is $$lol $$, but since he went to university and started to engage in $$ACM $$, he seldom plays it. One day, he boarded his account for a long time and was ready to play a ranking game to release the pressure. As a result, he found that because he hadn't played the game for a long time, his rank fell from diamond two to platinum one. He was very sad, but he knew that his hidden rank should still be relatively high. Now we abstract the rank into score, assuming that the score of $$LC $$is $$p $, If you win one, you can increase $$x $$points, and if you lose one, you can deduct $$y $$points. The calculation formula of hidden points is: * * * $$hidden points * * $$displaystyle = P * \ frac {x} {y} $$$$ LC $$wants to know what his hidden score is, but he is busy playing games now, so he gives you the task.
###Input format:
In one line, give three positive integers $$p, x, y $$, meaning as described in the title$$ 1<=P<=2000$$,$$1<=X,Y<=50$$)
###Output format:
Output an integer $$n $$in one line, representing the hidden score of $$LC $$, and round the result to keep only the integer part.
###Input example:
```in
1000 10 10
```
###Output example:
```out
one thousand
```







answer:If there is no answer, please comment