結果
問題 | No.1314 N言っちゃダメゲーム (5) |
ユーザー |
|
提出日時 | 2025-01-14 09:09:37 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 318 bytes |
コンパイル時間 | 417 ms |
コンパイル使用メモリ | 82,316 KB |
実行使用メモリ | 53,776 KB |
最終ジャッジ日時 | 2025-01-14 09:09:41 |
合計ジャッジ時間 | 3,373 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 24 WA * 4 |
ソースコード
M,K = map(int,input().split())if K>=M-1:if M%2==0:print("Win")else:print("Draw")else:m = (M-K-2)//(K+1)+1if M%2==0 and m%2==0:print("Win")elif M%2==0 and m%2==1:print("Lose")elif M%2==1 and m%2==0:print("Draw")else:print("Win")