問題一覧 > 通常問題

No.1329 Square Sqsq

レベル : / AI推定難易度 : 600 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 270
作問者 : penguinman / テスター : noya2
お気に入りにしたユーザー ProblemId : 5033 / 自分の提出
問題文最終更新日: 2021-01-17 04:40:43
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder contest 277 (順位表) の他の問題:

Problem Statement

How many digits does $\lfloor√N\rfloor$ have in base $10$ notation?

For a real number $x$, $\lfloor$$x$$\rfloor$ denotes the largest integer less than or equal to $x$.

Input

$N$
  • $1≤N≤10^{10^5}$
  • All inputs are integers.

Output

Print the number of digits in base $10$ on $1$ line.
Print a newline at the end.

Sample

Sample 1
Input
25
Output
1

$√25=5$. Its number of digits is $1$, so print that.

Sample 2
Input
101
Output
2

The input is not necessarily a perfect square.

Sample 3
Input
103290329093920294747429183
Output
14

The input may not fit in a typical $64$-bit integer type.

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。