13188: 计算分段函数
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:2
Solved:0
Description
计算分段函数,
输入x,打印出y值。流程图如图所示。

Input
输入一个整数 x。(-50<=x<=50)
Output
输出y的值。保留6位小数。
Sample Input Copy
1
0
-1
Sample Output Copy
0.367879
1.000000
-0.367879