Faktor
의견: 0
Impact factor of a scientific journal is a measure reflecting the average number of citations to articles published in science journals. For this task we are using a simplified formula for calculating the impact factor:
$$ \frac{\text{Total sum of all citations articles published in the journal received}}{\text{Total number of articles published}} $$
Rounding is always performed up. For example the impact factor of the "Journal for ore research and time wasting" that published \(38\) articles quoted \(894\) times is \(894 / 38 = 23.53\) rounding up to \(24\).
You are the editor of one scientific journal. You know how much article you are going to publish and the owners are pushing you to reach a specific impact factor. You are wondering how many scientists you will have to bribe to cite your article to meet the owners demands. Since money is tight you want to bribe the minimal amount of scientists.
First and only line of input will contain \(2\) integers, \(A\) (\(1 \le A \le 100\)), number of articles you plan to publish and \(I\) (\(1 \le I \le 100\)) impact factor the owners require.
First and only line of output should contain one integer, the minimal number
of scientists you need to bribe.
| 서브태스크 | 점수 | 설명 |
|---|---|---|
Test 1 | 10점 | None |
Test 2 | 10점 | None |
Test 3 | 10점 | None |
Test 4 | 10점 | None |
Test 5 | 10점 | None |
Test 6 | 10점 | None |
Test 7 | 10점 | None |
Test 8 | 10점 | None |
Test 9 | 10점 | None |
Test 10 | 10점 | None |
38 248751 10010010 1091평가 및 의견
Faktor
Log in to rate problems.
아직 의견이 없습니다. 자격이 된다면 위 양식에서 가장 먼저 평가해 보세요.
풀이 제출
Faktor