結果
| 問題 |
No.1314 N言っちゃダメゲーム (5)
|
| コンテスト | |
| ユーザー |
tamato
|
| 提出日時 | 2020-12-11 00:22:03 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 1,000 ms |
| コード長 | 344 bytes |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 52,480 KB |
| 最終ジャッジ日時 | 2024-09-19 20:57:32 |
| 合計ジャッジ時間 | 2,154 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
mod = 1000000007
eps = 10**-9
def main():
import sys
input = sys.stdin.readline
M, K = map(int, input().split())
B = (M - 1) // (K + 1)
A = M - 1 - B
if A & 1 == 0:
if B:
print("Lose")
else:
print("Draw")
else:
print("Win")
if __name__ == '__main__':
main()
tamato