問題一覧 > 通常問題

No.508 Ultra-Relaxed Education

レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / スペシャルジャッジ問題 (複数の解が存在する可能性があります)
タグ : (AC するまで非表示) / 解いたユーザー数 561
作問者 : はむこ / テスター : eiya5498513
お気に入りにしたユーザー ProblemId : 1331 / 自分の提出
問題文最終更新日: 2026-06-28 20:00:37
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 162 (順位表) の他の問題:

Problem Statement

Find the radius of a circle with area $n$. However,

・Take pi to be $3$.
・An error of up to $1000000$ is allowed.
・Decimals and integers have not been taught yet, so answer with a positive natural number.

Input

$n$

$1 \leq n \leq 10^{12}$, $n$ is an integer

Output

Strictly speaking, for "the real value $r$ of the radius of a circle with area $n$, calculated with pi taken as $3$",
your output $r_{user}$ is judged correct if it is a positive natural number satisfying $r-10^6 \leq r_{user} \leq r+10^6$.

Sample

Sample 1
Input
4
Output
1000000

There is plenty of leeway (yutori) in the output error.

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