Approximation
ABC 407Problem 9 of 50
EasyWhat to do
You are given two numbers: a positive number A and a positive odd number B. Your task is to find the whole number that is closest to the value of A divided by B.
Key Concepts
basic math
finding the closest integer
input and output handling
Examples
Input:
4, 7
Output:
1
Input:
407, 29
Output:
14
Tips for Beginners
- Focus on understanding the logic, not memorizing syntax
- Use print statements to debug your code
- Don't worry about input parsing - the function handles that for you
- If stuck, try writing out your solution on paper first
Python Editor
Loading Python...