結果
| 問題 | 
                            No.994 ばらばらコイン
                             | 
                    
| コンテスト | |
| ユーザー | 
                             uni_python
                         | 
                    
| 提出日時 | 2020-07-23 22:43:30 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 44 ms / 2,000 ms | 
| コード長 | 268 bytes | 
| コンパイル時間 | 210 ms | 
| コンパイル使用メモリ | 82,688 KB | 
| 実行使用メモリ | 53,408 KB | 
| 最終ジャッジ日時 | 2024-06-23 21:33:51 | 
| 合計ジャッジ時間 | 2,597 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 23 | 
ソースコード
import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def main():
    mod=10**9+7
    N,K=MI()
    if N<K:
        print(-1)
    else:
        print(K-1)
main()
            
            
            
        
            
uni_python