Số chính phương #3

View as PDF

Points: 100 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Nhập vào 1 số nguyên dương \(n\). Đếm xem có bao nhiêu số chính phương nhỏ hơn hoặc bằng \(n\).

Input

  • Số nguyên dương \(n\) \((0 \leq n \leq 10^9)\)

Output

  • In ra số chính phương \(\leq n\)

Example

Test 1
Input
10
Output
3
Test 2
Input
16
Output
4

Comments

There are no comments at the moment.