結果
| 問題 | No.8 N言っちゃダメゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-06-13 13:32:57 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 194 bytes |
| 記録 | |
| コンパイル時間 | 1,043 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-03-20 15:22:56 |
| 合計ジャッジ時間 | 8,283 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 10 |
ソースコード
p = int(input())
for i in range(p):
n,k = map(int, input().split())
win_number = (n-1) % (k+1)
if win_number == 0:
print("Lose")
else:
print("win")