結果

問題 No.414 衝動
ユーザー bellangeldindonbellangeldindon
提出日時 2019-05-17 15:00:18
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 170 bytes
コンパイル時間 74 ms
コンパイル使用メモリ 7,028 KB
実行使用メモリ 38,132 KB
最終ジャッジ日時 2023-10-17 07:19:00
合計ジャッジ時間 3,812 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
32,392 KB
testcase_01 AC 11 ms
6,432 KB
testcase_02 AC 12 ms
6,432 KB
testcase_03 AC 419 ms
38,132 KB
testcase_04 AC 48 ms
38,132 KB
testcase_05 AC 418 ms
38,132 KB
testcase_06 AC 419 ms
38,132 KB
testcase_07 WA -
testcase_08 AC 245 ms
24,540 KB
testcase_09 AC 417 ms
38,132 KB
testcase_10 WA -
testcase_11 AC 17 ms
8,240 KB
testcase_12 AC 12 ms
7,448 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
M = int(raw_input())
for i in range(2, int(math.sqrt(M))+1):
	if M%i == 0:
		print str(i)+' '+str(M/i)
		break
	if i == int(math.sqrt(M)):
		print '1 '+str(M)
0