結果
問題 | No.2637 Factorize? |
ユーザー |
|
提出日時 | 2024-02-19 21:23:44 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 52 ms / 2,000 ms |
コード長 | 199 bytes |
コンパイル時間 | 146 ms |
コンパイル使用メモリ | 82,072 KB |
実行使用メモリ | 59,056 KB |
最終ジャッジ日時 | 2024-09-29 01:19:43 |
合計ジャッジ時間 | 2,795 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 32 |
ソースコード
import mathdef find_pair(P):sqrt_P = int(math.sqrt(P))for i in range(sqrt_P, 0, -1):if P % i == 0:return i, P // iP = int(input())A, B = find_pair(P)print(A, B)