結果
問題 | No.414 衝動 |
ユーザー |
|
提出日時 | 2019-03-31 16:21:38 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 116 ms / 1,000 ms |
コード長 | 227 bytes |
コンパイル時間 | 87 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-15 09:21:52 |
合計ジャッジ時間 | 1,725 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
import math M = int(input()) if M % 2 == 0: print(2, M // 2) else: for i in range(3, int(math.sqrt(M)) + 2, 2): if M % i == 0: print(i, M // i) break else: print(1, M)