結果

問題 No.1063 ルートの計算 / Sqrt Calculation
ユーザー 👑 H20H20
提出日時 2021-01-20 15:28:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 81 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 86,768 KB
実行使用メモリ 76,420 KB
最終ジャッジ日時 2023-08-24 19:23:48
合計ジャッジ時間 2,697 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,716 KB
testcase_01 AC 70 ms
71,776 KB
testcase_02 AC 70 ms
71,368 KB
testcase_03 AC 73 ms
76,420 KB
testcase_04 AC 74 ms
71,072 KB
testcase_05 AC 73 ms
76,364 KB
testcase_06 AC 75 ms
75,916 KB
testcase_07 AC 76 ms
76,140 KB
testcase_08 AC 75 ms
76,112 KB
testcase_09 AC 73 ms
76,132 KB
testcase_10 AC 73 ms
76,228 KB
testcase_11 AC 73 ms
76,152 KB
testcase_12 AC 72 ms
76,196 KB
testcase_13 AC 72 ms
76,188 KB
testcase_14 AC 74 ms
76,132 KB
testcase_15 AC 74 ms
76,152 KB
testcase_16 AC 74 ms
75,908 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = int(n**0.5+1)
while n%(a**2)>0:
    a-=1
print(a,n//(a**2))
0