結果
| 問題 | No.136 Yet Another GCD Problem |
| コンテスト | |
| ユーザー |
yaoshimax
|
| 提出日時 | 2015-04-30 15:10:36 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 124 bytes |
| 記録 | |
| コンパイル時間 | 135 ms |
| コンパイル使用メモリ | 78,012 KB |
| 最終ジャッジ日時 | 2025-12-03 14:54:14 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 WA * 25 |
ソースコード
N,K=map(int,raw_input().split())
ans=1
for i in range(2,N):
if N%i==0 and N/i>=K:
ans=max(ans,i)
print ans
yaoshimax