結果

問題 No.136 Yet Another GCD Problem
ユーザー gorugo30
提出日時 2021-03-05 18:56:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 5,000 ms
コード長 123 bytes
コンパイル時間 259 ms
コンパイル使用メモリ 82,816 KB
実行使用メモリ 57,600 KB
最終ジャッジ日時 2024-10-06 20:55:40
合計ジャッジ時間 3,423 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 39
権限があれば一括ダウンロードができます

ソースコード

diff #

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