Skip to main content
LIVE CONTEST: Round #7 · Begin Marathon is live now! …

~/algor $ cat problems/while/largest-number-with-square-at-most-n

Largest number with square at most n

Author Iqbolshoh Ilhomjonov 3 @iqbolshoh 650 problems
Easy 1000 ms 64 MB 26%
Share

A positive integer is given. Find the largest integer satisfying the inequality:

Finding the largest number whose square does not exceed the given one

Input

One integer .

Output

One integer — .

Note

Examples

Input #1
26
Output #1
5
Input #2
16
Output #2
4

Sign in to submit a solution

Signing up is free and takes a minute.