caculate product of two num
Background
Special for beginners, ^_^
Description
Given two number x and y, print the product, and return an integer of approximately product.
Format
Input
Two number x and y, satisfying 0 <= x, y <= 32767.
Output
One integer, the sum of x and y.
Sample 1
Input
12.1 500
Output
6050
Limitation
1s, 1024KiB for each test case.
Hint
Python2 Code
a, b = [float(i) for i in raw_input().split()]
print int(a * b)
Python3 Code
a, b = [float(i) for i in input().split()]
print(int(a * b))
Source
Vijos Original
信息
- ID
 - 1002
 - 难度
 - 9
 - 分类
 - (无)
 - 标签
 - (无)
 - 递交数
 - 4
 - 已通过
 - 1
 - 通过率
 - 25%
 - 上传者