Easy Peasy Arithmetic
Submit solution
Points:
1
Time limit:
2.0s
Memory limit:
256M
Author:
Problem type
Allowed languages
C, C++, Java, Python
Easy Peasy Arithmetic
Bored of going through the beginner problemset, Timmy decided to take on a little challenge before he goes to sleep.
Given the set of all square integers and an integer
, he wants to determine how many integers in the set are strictly less than
.
Input
The input consists of one integer .
Output
Output the number of square integers in the infinite set that are strictly less than .
Examples
Input 1
1
Output 1
0
Input 2
5
Output 2
2
Comments