Codeforces Round 114 (Div. 2)
A
Wizards and Demonstration
Codeforces
900
原题
←B →
翻译中…

Some country is populated by wizards. They want to organize a demonstration.

翻译中…

There are $*n*$ people living in the city, $*x*$ of them are the wizards who will surely go to the demonstration. Other city people ($*n* - *x*$ people) do not support the wizards and aren't going to go to the demonstration. We know that the city administration will react only to the demonstration involving at least $*y*$ percent of the city people. Having considered the matter, the wizards decided to create clone puppets which can substitute the city people on the demonstration.

翻译中…

So all in all, the demonstration will involve only the wizards and their puppets. The city administration cannot tell the difference between a puppet and a person, so, as they calculate the percentage, the administration will consider the city to be consisting of only $*n*$ people and not containing any clone puppets.

翻译中…

Help the wizards and find the minimum number of clones to create to that the demonstration had no less than $*y*$ percent of the city people.

翻译中…

Input

翻译中…

The first line contains three space-separated integers, $*n*$, $*x*$, $*y*$ ($1 ≤ *n*, *x*, *y* ≤ 10^{4}, *x* ≤ *n*$) — the number of citizens in the city, the number of wizards and the percentage the administration needs, correspondingly.

翻译中…

Please note that $*y*$ can exceed 100 percent, that is, the administration wants to see on a demonstration more people that actually live in the city ($> *n*$).

翻译中…

Output

翻译中…

Print a single integer — the answer to the problem, the minimum number of clones to create, so that the demonstration involved no less than $*y*$ percent of $*n*$ (the real total city population).

翻译中…

Note

翻译中…

In the first sample it is necessary that at least 14% of 10 people came to the demonstration. As the number of people should be integer, then at least two people should come. There is only one wizard living in the city and he is going to come. That isn't enough, so he needs to create one clone.

翻译中…

In the second sample 10 people should come to the demonstration. The city has 10 wizards. They will all come to the demonstration, so nobody has to create any clones.

翻译中…

样例

Input #1
10 1 14
Output #1
1
InputCopy OutputCopy
Input #2
20 10 50
Output #2
0
InputCopy OutputCopy
Input #3
1000 352 146
Output #3
1108
InputCopy OutputCopy
题目信息
题号
168A
时间限制
2 s
内存限制
256 MB
标签
模拟
数学

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。