結果

問題 No.414 衝動
ユーザー AREIDO2
提出日時 2016-08-26 22:56:51
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 234 bytes
コンパイル時間 478 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-11-08 14:44:09
合計ジャッジ時間 2,560 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4 RE * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python
#coding:UTF-8

M = int(raw_input())

x1 = 1
x2 = 0

for i in range(2,M):
     if M % i == 0:
          x2 = i

if x2 == 0:
     print str(x1) + " " + str(M)
else:
     print str(x2) + " " + str(M / x2)
          
0