結果

問題 No.1063 ルートの計算 / Sqrt Calculation
ユーザー raven7959raven7959
提出日時 2021-08-08 08:59:38
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 128 bytes
コンパイル時間 1,131 ms
コンパイル使用メモリ 81,484 KB
実行使用メモリ 57,604 KB
最終ジャッジ日時 2023-10-19 08:38:23
合計ジャッジ時間 1,719 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 38 ms
53,388 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 38 ms
53,388 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 42 ms
57,360 KB
testcase_08 WA -
testcase_09 AC 41 ms
57,360 KB
testcase_10 AC 42 ms
57,360 KB
testcase_11 AC 42 ms
57,360 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt
n=int(input())
N=n
for i in range(2,int(sqrt(N))+1):
    while N%(i*i)==0:
        N//=(i*i)
print(N//n,n)
0