結果

問題 No.414 衝動
ユーザー tomatonosuketomatonosuke
提出日時 2016-08-26 22:53:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 194 bytes
コンパイル時間 212 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 16,512 KB
最終ジャッジ日時 2024-04-26 02:20:55
合計ジャッジ時間 3,133 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
16,512 KB
testcase_01 AC 30 ms
11,008 KB
testcase_02 AC 30 ms
10,880 KB
testcase_03 AC 195 ms
10,752 KB
testcase_04 AC 30 ms
10,880 KB
testcase_05 TLE -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
targ = int(input())
for t in range(2,math.floor(targ) + 1):
    if targ % t == 0:
        print(str(t) + ' ' + str(targ // t))
        break
else:
    print(str(1) + " " + str(targ))
0