結果

問題 No.8 N言っちゃダメゲーム
ユーザー rlangevinrlangevin
提出日時 2023-01-14 15:25:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 67 ms / 5,000 ms
コード長 193 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 87,116 KB
実行使用メモリ 71,512 KB
最終ジャッジ日時 2023-08-26 21:29:11
合計ジャッジ時間 2,054 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,264 KB
testcase_01 AC 66 ms
71,064 KB
testcase_02 AC 65 ms
71,068 KB
testcase_03 AC 65 ms
71,352 KB
testcase_04 AC 66 ms
71,212 KB
testcase_05 AC 65 ms
71,360 KB
testcase_06 AC 66 ms
71,288 KB
testcase_07 AC 64 ms
71,464 KB
testcase_08 AC 63 ms
71,348 KB
testcase_09 AC 64 ms
71,512 KB
testcase_10 AC 65 ms
71,396 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

P = int(input())
for _ in range(P):
    N, K = map(int, input().split())
    if K >= N - 1:
        print("Win")
    elif (N - 1) % (K + 1):
        print("Win")
    else:
        print("Lose")
0