/ / 题库 /

c++库函数

c++库函数

Background

Special for beginners, ^_^

Description

Given two integers x and y.

If x==1,print sqrt(n).

If x==2,the file will give you another interger k,you need to print \(y^k\)

If x==3,please round the y and print it.

Format

Input

Two integers x and y.

Output

If x==1,print sqrt(n).

If x==2,the file will give you another interger k,you need to print \(y^k\)

If x==3,please round y and print it.

Sample 1

Input

1
4

Output

2.000

Limitation

1s, 1024KiB for each test case.

Hint

1<=x<=3,1<=y<=100,1<=k<=10

Source

Vijos Original

信息

ID
1004
难度
2
分类
(无)
标签
递交数
1
已通过
1
通过率
100%
上传者