結果

問題 No.1063 ルートの計算 / Sqrt Calculation
ユーザー raven7959
提出日時 2021-08-08 08:59:38
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 128 bytes
コンパイル時間 202 ms
コンパイル使用メモリ 82,576 KB
実行使用メモリ 60,160 KB
最終ジャッジ日時 2024-09-19 04:52:31
合計ジャッジ時間 1,457 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 5 WA * 9
権限があれば一括ダウンロードができます

ソースコード

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