AtCoder Beginner Contest 077
翻译中…
Problem Statement
翻译中…
Find the largest square number not exceeding $N$. Here, a square number is an integer that can be represented as the square of an integer.
翻译中…
Constraints
翻译中…
$1 \leq N \leq 10^9$$N$is an integer.
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
N
翻译中…
Output
翻译中…
Print the largest square number not exceeding $N$.
翻译中…
样例
Input #1
10
Output #1
9
$10$ is not square, but $9 = 3 × 3$ is. Thus, we print $9$.
Input #2
81
Output #2
81
Input #3
271828182
Output #3
271821169
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。