結果

問題 No.136 Yet Another GCD Problem
ユーザー yaoshimax
提出日時 2015-04-30 15:14:42
言語 Python2
(2.7.18)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 113 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 9,472 KB
最終ジャッジ日時 2024-07-05 17:10:01
合計ジャッジ時間 1,716 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 39
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K=map(int,raw_input().split())
ans=1
for i in range(2,N):
    if N%i==0:
        ans=max(ans,i)
print ans
    
0