結果

問題 No.1314 N言っちゃダメゲーム (5)
ユーザー tamato
提出日時 2020-12-11 00:07:34
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 342 bytes
コンパイル時間 151 ms
コンパイル使用メモリ 83,020 KB
実行使用メモリ 54,312 KB
最終ジャッジ日時 2024-09-19 20:54:09
合計ジャッジ時間 2,138 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    M, K = map(int, input().split())

    B = M // (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()
0