結果

問題 No.414 衝動
ユーザー convexineqconvexineq
提出日時 2021-02-02 23:58:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 51 ms / 1,000 ms
コード長 181 bytes
コンパイル時間 148 ms
コンパイル使用メモリ 82,044 KB
実行使用メモリ 59,040 KB
最終ジャッジ日時 2024-04-27 08:57:51
合計ジャッジ時間 1,325 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
59,040 KB
testcase_01 AC 35 ms
52,616 KB
testcase_02 AC 33 ms
52,772 KB
testcase_03 AC 48 ms
58,428 KB
testcase_04 AC 32 ms
52,200 KB
testcase_05 AC 50 ms
58,844 KB
testcase_06 AC 49 ms
58,224 KB
testcase_07 AC 32 ms
53,256 KB
testcase_08 AC 44 ms
57,712 KB
testcase_09 AC 51 ms
57,704 KB
testcase_10 AC 34 ms
52,692 KB
testcase_11 AC 36 ms
58,560 KB
testcase_12 AC 32 ms
52,680 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = 0
for i in range(2,n):
    if i*i == n:
        print(i,i)
        exit()
    if i*i > n: break
    if n%i==0:
        print(i,n//i)
        exit()
print(1,n)
0