結果

問題 No.414 衝動
ユーザー TawaraTawara
提出日時 2016-08-26 22:24:05
言語 Python2
(2.7.18)
結果
AC  
実行時間 101 ms / 1,000 ms
コード長 132 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 6,616 KB
実行使用メモリ 6,164 KB
最終ジャッジ日時 2023-08-09 13:18:43
合計ジャッジ時間 1,752 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,940 KB
testcase_01 AC 11 ms
5,928 KB
testcase_02 AC 11 ms
5,956 KB
testcase_03 AC 101 ms
6,012 KB
testcase_04 AC 11 ms
6,016 KB
testcase_05 AC 100 ms
6,120 KB
testcase_06 AC 101 ms
6,000 KB
testcase_07 AC 11 ms
6,020 KB
testcase_08 AC 63 ms
6,164 KB
testcase_09 AC 101 ms
6,064 KB
testcase_10 AC 11 ms
6,056 KB
testcase_11 AC 12 ms
6,160 KB
testcase_12 AC 11 ms
6,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt
M = int(raw_input())
for i in xrange(2,int(sqrt(M))+2):
	if M % i == 0:
		print i,M/i
		break
else:
	print 1,M
0