AtCoder Beginner Contest 169
C
Multiplication 3
AtCoder
⌀ 597
原题
← BD →
翻译中…

Problem Statement

翻译中…

Compute $A \times B$, truncate its fractional part, and print the result as an integer.

翻译中…

Constraints

翻译中…
  • $0 \leq A \leq 10^{15}$
  • $0 \leq B < 10$
  • $A$ is an integer.
  • $B$ is a number with two digits after the decimal point.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

A B

翻译中…

Output

翻译中…

Print the answer as an integer.

翻译中…

样例

Input #1
198 1.10
Output #1
217
We have $198 \times 1.10 = 217.8$. After truncating the fractional part, we have the answer: $217$.
Input #2
1 0.01
Output #2
0
Input #3
1000000000000000 9.99
Output #3
9990000000000000
题目信息
题号
abc169_c
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。