結果

問題 No.1314 N言っちゃダメゲーム (5)
ユーザー 👑 Kazun
提出日時 2020-12-11 00:21:44
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 203 bytes
コンパイル時間 198 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 65,532 KB
最終ジャッジ日時 2024-09-19 20:57:28
合計ジャッジ時間 2,568 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 RE * 1
other AC * 7 WA * 5 RE * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

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

#後手必勝の回数
B=M//(K+1)

#先手必勝の回数
A=M-1-B

if A%2:
    z=1/0
    print("Win")
else:
    if B%2:
        print("Lose")
    else:
        print("Draw")
0