Acres
Time limit1sMemory limit1024 MB
Given the yard dimensions of a rectangular field, compute how many 5-acre seed bags are needed to plant all of it.
- Level
Easy1 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
You have a rectangular field you want to plant with corn. You know the dimensions of the field in yards, and you know that one bag of corn seed will cover 5 acres. You also know that 4840 square yards is equal to 1 acre. Given the dimensions of the rectangular field in yards, compute the number of bags of corn seed you need to plant the entire field.
Input
The first line contains two positive integers that are the dimensions of the rectangular field in yards.
Output
A positive integer that is the number of bags of corn seed needed to plant the entire field.