結果

問題 No.1063 ルートの計算 / Sqrt Calculation
ユーザー tailstails
提出日時 2020-06-01 20:37:49
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 52 bytes
コンパイル時間 226 ms
コンパイル使用メモリ 6,820 KB
実行使用メモリ 9,268 KB
最終ジャッジ日時 2024-11-22 08:54:27
合計ジャッジ時間 3,109 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 115 ms
9,136 KB
testcase_01 AC 115 ms
9,264 KB
testcase_02 AC 119 ms
9,012 KB
testcase_03 AC 118 ms
9,136 KB
testcase_04 AC 114 ms
9,264 KB
testcase_05 AC 119 ms
9,136 KB
testcase_06 AC 116 ms
9,268 KB
testcase_07 AC 114 ms
9,260 KB
testcase_08 AC 115 ms
9,136 KB
testcase_09 AC 115 ms
9,264 KB
testcase_10 AC 115 ms
9,136 KB
testcase_11 AC 115 ms
9,264 KB
testcase_12 AC 116 ms
9,260 KB
testcase_13 AC 115 ms
9,100 KB
testcase_14 AC 115 ms
9,264 KB
testcase_15 AC 116 ms
9,264 KB
testcase_16 AC 117 ms
9,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

read n
$[i={1..31607},a=n%i**2?a:i]
echo $a $[n/a/a]
0