結果

問題 No.414 衝動
ユーザー syunsukesyunsuke
提出日時 2019-09-11 22:49:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 87 ms / 1,000 ms
コード長 132 bytes
コンパイル時間 1,843 ms
コンパイル使用メモリ 86,828 KB
実行使用メモリ 76,224 KB
最終ジャッジ日時 2023-08-09 13:42:13
合計ジャッジ時間 2,792 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
75,840 KB
testcase_01 AC 71 ms
71,616 KB
testcase_02 AC 71 ms
71,724 KB
testcase_03 AC 87 ms
76,068 KB
testcase_04 AC 70 ms
71,660 KB
testcase_05 AC 86 ms
76,136 KB
testcase_06 AC 86 ms
75,888 KB
testcase_07 AC 70 ms
71,400 KB
testcase_08 AC 79 ms
76,224 KB
testcase_09 AC 85 ms
76,028 KB
testcase_10 AC 68 ms
71,668 KB
testcase_11 AC 72 ms
76,052 KB
testcase_12 AC 69 ms
71,608 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
import math
n=math.ceil(N**0.5)
for i in range(2,n+1):
    if N%i==0:
        print(i,N//i)
        exit()
print(1,N)
0