結果

問題 No.1314 N言っちゃダメゲーム (5)
ユーザー marroncastlemarroncastle
提出日時 2020-12-16 01:19:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 1,000 ms
コード長 150 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-09-20 03:57:11
合計ジャッジ時間 2,340 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

M, K = map(int, input().split())
mul = (M-1)//(K+1)
notmul = M-1-mul
if notmul%2==1:
  print('Win')
elif mul==0:
  print('Draw')
else:
  print('Lose')
0