#CCBCHBAHAI0000117. Kích thước byte của mảng (Array Size in Bytes)
Kích thước byte của mảng (Array Size in Bytes)
Array Size in Bytes
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
An array has consecutive elements, each occupying exactly bytes. The total array size is
Compute the total number of bytes. Large inputs may produce a result beyond the range of a 32-bit int.
Input
One line contains two positive integers and .
Output
Print the integer .
Subtasks
Subtask 1 (20 points): and .
Subtask 2 (30 points): .
Subtask 3 (50 points): , .
Examples
Input
250000000 8
Output
2000000000
Explanation
There are elements and each occupies bytes. Therefore
The full tests also include larger products, so an integer type with sufficient range is required.