結果

問題 No.414 衝動
ユーザー 👑 KazunKazun
提出日時 2020-11-13 16:49:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 51 ms / 1,000 ms
コード長 105 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 81,968 KB
実行使用メモリ 59,532 KB
最終ジャッジ日時 2024-04-27 08:42:56
合計ジャッジ時間 1,350 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
58,440 KB
testcase_01 AC 37 ms
52,300 KB
testcase_02 AC 35 ms
51,912 KB
testcase_03 AC 47 ms
58,680 KB
testcase_04 AC 33 ms
53,096 KB
testcase_05 AC 48 ms
58,132 KB
testcase_06 AC 51 ms
58,536 KB
testcase_07 AC 36 ms
53,404 KB
testcase_08 AC 46 ms
58,276 KB
testcase_09 AC 50 ms
57,384 KB
testcase_10 AC 33 ms
52,396 KB
testcase_11 AC 37 ms
59,532 KB
testcase_12 AC 32 ms
52,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

M=int(input())
i=2

while i*i<=M:
    if M%i==0:
        print(i,M//i)
        exit()
    i+=1
print(1,M)
0