1490: Log Calculator

内存限制:128 MB 时间限制:1.000 S
评测方式:文本比较 命题人:
提交:1 解决:1

题目描述

输入

The first line of the input contains an integer T(T≤100), indicating the number of test cases. Each test case contains two float numbers: a, b(-10^10000≤a,b≤10^10000), indicating and respectively.

输出

For each test case, print a line containing the test case number (beginning with 1) and the required result. Because of the result may be an irrational number, so you just need to print the result with 9 digits of precision, round half up.

样例输入 复制

2
1 1
0 0

样例输出 复制

Case 1: 2.000000000
Case 2: 1.000000000

提示

FZU 2036  http://acm.fzu.edu.cn/problem.php?pid=2036

来源/分类