2157:a × b

时间限制:2 S   /  内存限制:65536 KB
AC:117   /  Submit:234
问题描述

Calculate a × b.

输入描述

The input will consist of a series of pairs of floating point numbers a and b,separated by a space, one pair of floating point numbers per line.

输出描述

For each pair of input floating point numbers a and b you should output the product of a and b in one line,and with one line of output for each line in input.

Output should be rounded to 3 digits after decimal point.

样例输入复制样例

1.1 1.1

1 0

1.234 5.678

样例输出

1.210

0.000

7.007

提示说明

printf("%.3f", a*b);

相关

TKK-ICPC Round#0

题单#3(输入输出、scanf&printf妙用)


Copyright 2016 - 2024 XUJC ACM Team
闽ICP备2020022076号-1