Kiểm tra số

View as PDF

Submit solution

Points: 1.00
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Author:
Problem type

Nhập giá trị x là số thực, kiểm tra có thỏa mãn x thuộc [0, 10];

-nếu thỏa in ra x


-nếu kh thỏa in -1

INPUT

1 số thực x

OUTPUT

kết quả của đề bài làm tròn dến 2 chữ số thập phân

SAMPLE INPUT 1

3

SAMPLE OUTPUT 1

3.00

SAMPLE INPUT 2

13

SAMPLE OUTPUT 2

-1

Comments

Please read the guidelines before commenting.


There are no comments at the moment.