結果

問題 No.136 Yet Another GCD Problem
ユーザー pluto77
提出日時 2016-03-15 09:29:54
言語 Python2
(2.7.18)
結果
AC  
実行時間 18 ms / 5,000 ms
コード長 133 bytes
コンパイル時間 220 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-10-01 06:33:42
合計ジャッジ時間 1,864 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 39
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
#yuki_136

n,k=map(int,raw_input().split())

res=1
for i in xrange(2,n+1):
 if n%i==0:
  res=max(res,n/i)

print res
0