結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 109 ms
9,260 KB
testcase_01 AC 99 ms
9,264 KB
testcase_02 AC 102 ms
9,268 KB
testcase_03 AC 102 ms
9,012 KB
testcase_04 AC 101 ms
9,268 KB
testcase_05 AC 106 ms
9,260 KB
testcase_06 AC 103 ms
9,264 KB
testcase_07 AC 108 ms
9,140 KB
testcase_08 AC 108 ms
9,264 KB
testcase_09 AC 107 ms
9,264 KB
testcase_10 AC 102 ms
9,260 KB
testcase_11 AC 100 ms
9,264 KB
testcase_12 AC 106 ms
9,260 KB
testcase_13 AC 109 ms
9,264 KB
testcase_14 AC 109 ms
9,264 KB
testcase_15 AC 105 ms
9,264 KB
testcase_16 AC 100 ms
9,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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