結果
| 問題 | 
                            No.1314 N言っちゃダメゲーム (5)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             tamato
                         | 
                    
| 提出日時 | 2020-12-11 00:11:55 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 348 bytes | 
| コンパイル時間 | 157 ms | 
| コンパイル使用メモリ | 82,504 KB | 
| 実行使用メモリ | 53,940 KB | 
| 最終ジャッジ日時 | 2024-09-19 20:54:58 | 
| 合計ジャッジ時間 | 2,065 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 24 WA * 4 | 
ソースコード
mod = 1000000007
eps = 10**-9
def main():
    import sys
    input = sys.stdin.readline
    M, K = map(int, input().split())
    B = (M - 1) // (K + 1)
    A = M - 1 - B
    if A & 1 == 0:
        if B & 1:
            print("Lose")
        else:
            print("Draw")
    else:
        print("Win")
if __name__ == '__main__':
    main()
            
            
            
        
            
tamato