結果
| 問題 | 
                            No.1314 N言っちゃダメゲーム (5)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2023-07-14 00:17:12 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 32 ms / 1,000 ms | 
| コード長 | 223 bytes | 
| コンパイル時間 | 246 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-09-15 09:32:38 | 
| 合計ジャッジ時間 | 2,403 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 28 | 
ソースコード
m, k = map(int, input().split())
gote = (m - 1) // (k + 1)
sente = m - gote - 1
sente_r = sente % 2
if sente_r == 0 and gote == 0:
    print("Draw")
elif sente_r == 0 and gote > 0:
    print("Lose")
else:
    print("Win")