結果
| 問題 | No.1314 N言っちゃダメゲーム (5) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-14 00:17:12 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 96 ms / 1,000 ms |
| + 183µs | |
| コード長 | 223 bytes |
| 記録 | |
| コンパイル時間 | 286 ms |
| コンパイル使用メモリ | 21,156 KB |
| 実行使用メモリ | 15,772 KB |
| 最終ジャッジ日時 | 2026-08-27 22:10:03 |
| 合計ジャッジ時間 | 4,937 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
m, k = map(int, input().split())
gote = (m - 1) // (k + 1)
sente = m - gote - 1
sente_r = sente % 2
if sente_r == 0 and gote == 0:
print("Draw")
elif sente_r == 0 and gote > 0:
print("Lose")
else:
print("Win")