結果

問題 No.414 衝動
ユーザー roarisroaris
提出日時 2019-09-01 20:43:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 51 ms / 1,000 ms
コード長 123 bytes
コンパイル時間 131 ms
コンパイル使用メモリ 82,104 KB
実行使用メモリ 58,788 KB
最終ジャッジ日時 2024-04-27 08:38:57
合計ジャッジ時間 1,323 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
58,132 KB
testcase_01 AC 35 ms
53,044 KB
testcase_02 AC 32 ms
52,008 KB
testcase_03 AC 50 ms
58,584 KB
testcase_04 AC 32 ms
53,236 KB
testcase_05 AC 50 ms
58,300 KB
testcase_06 AC 48 ms
58,036 KB
testcase_07 AC 33 ms
52,832 KB
testcase_08 AC 43 ms
57,732 KB
testcase_09 AC 51 ms
58,396 KB
testcase_10 AC 32 ms
52,588 KB
testcase_11 AC 36 ms
58,788 KB
testcase_12 AC 33 ms
52,404 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

M = int(input())

for i in range(2, int(M**0.5)+1):
    if M % i == 0:
        print(i, M // i)
        exit()

print(1, M)
0