結果
| 問題 |
No.136 Yet Another GCD Problem
|
| コンテスト | |
| ユーザー |
ytft
|
| 提出日時 | 2021-03-15 12:02:48 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 111 bytes |
| コンパイル時間 | 357 ms |
| コンパイル使用メモリ | 82,288 KB |
| 実行使用メモリ | 58,812 KB |
| 最終ジャッジ日時 | 2024-11-07 00:38:13 |
| 合計ジャッジ時間 | 3,110 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 WA * 25 |
ソースコード
N,K=map(int,input().split())
for i in range(max(1,N//K),-1,-1):
if(N%i==0):
print(i)
break
ytft