102050: [AtCoder]ABC205 A - kcal

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Score : $100$ points

Problem Statement

We have a drink that has $A$ kilocalories of energy per $100$ milliliters. How many kilocalories of energy does $B$ milliliters of this drink have?

Constraints

  • $0 \leq A, B \leq 1000$
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

$A$ $B$

Output

Print a number representing the answer.

Your output is considered correct when its absolute or relative error from our answer is at most $10^{-6}$.


Sample Input 1

45 200

Sample Output 1

90

We have a drink that has $45$ kilocalories of energy per $100$ milliliters. $200$ milliliters of this drink has $90$ kilocalories of energy.


Sample Input 2

37 450

Sample Output 2

166.5

The answer may not be an integer.


Sample Input 3

0 1000

Sample Output 3

0

Sample Input 4

50 0

Sample Output 4

0

Input

题意翻译

## 题目翻译 每 $100$ mL 饮料都会有 $A$ 千卡,那么现在有 $B$ mL 饮料,这瓶饮料会有多少千卡呢? ## 输入格式 输入用以下标准输入: > $A$ $B$ ## 输出格式 给出一个数字表示答案。 你给出的答案和假定答案绝对误差或者相对误差小于 $10^6$ 就视为正确的答案。 ## 说明/提示 ### 限制 * $0 \leq A,B \leq 1000$ * 输入的数字全是整数。 ### 样例说明 1 每 $100$ mL 饮料会有 $45$ 千卡,这瓶饮料有 $200$ 毫升,所以有 $90$ 千卡的能量。 ### 样例说明 2 答案可能不是整数。

加入题单

上一题 下一题 算法标签: