結果

問題 No.8 N言っちゃダメゲーム
ユーザー AtamaokaCAtamaokaC
提出日時 2021-06-19 17:22:07
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 180 bytes
コンパイル時間 959 ms
コンパイル使用メモリ 87,104 KB
実行使用メモリ 71,500 KB
最終ジャッジ日時 2023-09-05 01:02:22
合計ジャッジ時間 1,929 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,184 KB
testcase_01 AC 73 ms
71,472 KB
testcase_02 AC 71 ms
71,392 KB
testcase_03 AC 74 ms
71,456 KB
testcase_04 AC 75 ms
71,176 KB
testcase_05 AC 74 ms
71,444 KB
testcase_06 AC 77 ms
71,388 KB
testcase_07 AC 75 ms
71,468 KB
testcase_08 AC 76 ms
71,464 KB
testcase_09 AC 76 ms
71,416 KB
testcase_10 AC 75 ms
71,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

inpl = lambda: list(map(int,input().split()))
P = int(input())
for _ in range(P):
    N, K = inpl()
    if (N-1) % (K+1) == 0:
        print('Lose')
    else:
        print('Win')
0