結果

問題 No.1314 N言っちゃダメゲーム (5)
ユーザー googol_S0googol_S0
提出日時 2020-12-11 00:24:25
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 160 bytes
コンパイル時間 206 ms
コンパイル使用メモリ 81,604 KB
実行使用メモリ 65,792 KB
最終ジャッジ日時 2023-10-20 01:08:03
合計ジャッジ時間 2,864 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
53,452 KB
testcase_01 RE -
testcase_02 RE -
testcase_03 AC 39 ms
53,456 KB
testcase_04 RE -
testcase_05 RE -
testcase_06 WA -
testcase_07 RE -
testcase_08 RE -
testcase_09 WA -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 39 ms
53,456 KB
testcase_13 RE -
testcase_14 WA -
testcase_15 WA -
testcase_16 RE -
testcase_17 WA -
testcase_18 AC 38 ms
53,456 KB
testcase_19 AC 38 ms
53,456 KB
testcase_20 WA -
testcase_21 RE -
testcase_22 WA -
testcase_23 AC 38 ms
53,456 KB
testcase_24 RE -
testcase_25 RE -
testcase_26 RE -
testcase_27 WA -
testcase_28 AC 39 ms
53,456 KB
testcase_29 RE -
testcase_30 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

M,K=map(int,input().split())
M-=1
X=M//K
Y=M-X
X,Y=Y,X
P=['Draw','Win','Win','Lose','Lose']
if X&1:
  print(P[(X&1)-(Y&1)])
else:
  print(P[-(Y&1)])
  assert(0)
0