結果
問題 | No.1063 ルートの計算 / Sqrt Calculation |
ユーザー |
![]() |
提出日時 | 2020-09-02 23:07:34 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 51 ms / 2,000 ms |
コード長 | 340 bytes |
コンパイル時間 | 1,072 ms |
コンパイル使用メモリ | 81,876 KB |
実行使用メモリ | 58,072 KB |
最終ジャッジ日時 | 2024-11-22 00:31:01 |
合計ジャッジ時間 | 2,040 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 |
ソースコード
import sys input=sys.stdin.readline def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) def main(): mod=10**9+7 n=I() a=1 for i in range(2,10**5): while n%(i*i)==0: n=n//(i*i) a*=i print(a,n) main()