Square numbers counting - MarisaOJ: Marisa Online Judge

Square numbers counting

Time limit: 200 ms
Memory limit: 256 MB
You are given an integer a. How many positive square numbers are there that they are smaller or equal to a?. ### Input - An integer a. ### Output - The number of satisfied square numbers. ### Constraints - (1≤a≤1018). ### Example Input: 26 Output: 5