結果

問題 No.414 衝動
コンテスト
ユーザー AREIDO2
提出日時 2016-08-26 23:04:00
言語 PyPy2
(7.3.15)
結果
TLE  
(最新)
RE  
(最初)
実行時間 -
コード長 227 bytes
コンパイル時間 162 ms
コンパイル使用メモリ 76,992 KB
最終ジャッジ日時 2025-12-03 21:19:18
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other TLE * 1 -- * 12
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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

M = int(raw_input())

x1 = 1
x2 = 0

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

if x2 == 0:
     print "{0} {1}".format(x1,M)
else:
     print "{0} {1}".format(x2,M / x2)
0