Question
COULD YOU PLEASE PROVIDE A PYTHON CODE FOR THE FOLLOWING PROBLEM; The impact factor of a scientific journal is a measure reflecting the average number
COULD YOU PLEASE PROVIDE A PYTHON CODE FOR THE FOLLOWING PROBLEM;
The 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:
Total count of citations received by articles published in the journalTotal number of articles published;
Totalcount of citations received by articles published in the journal / Total number of articles published
Rounding is always performed upwards. For example the impact factor of the Journal for ore research and time wasting that published 3838 articles cited 894894 times is 894/38=23.53894/38=23.53 rounding up to 24.
You are the editor of one scientific journal. You know how many articles 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 articles to meet the owners demands. Since money is tight you want to bribe the minimal amount of scientists. Each bribed scientist buys you a single citation.
Input
First and only line of input will contain 22 integers, AA (1A1001A100), the number of articles you plan to publish and II (1I1001I100), the impact factor the owners require.
Output
The first and only line of output should contain one integer, the minimal number of scientists you need to bribe.
Sample Input 1 | Sample Output 1 |
---|---|
38 24 | 875 |
Sample Input 2 | Sample Output 2 |
---|---|
1 100 | 100 |
Sample Input 3 | Sample Output 3 |
---|---|
10 10 | 91 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started