結果

問題 No.8 N言っちゃダメゲーム
ユーザー roarisroaris
提出日時 2022-09-27 15:03:25
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 5,000 ms
コード長 186 bytes
コンパイル時間 450 ms
コンパイル使用メモリ 87,128 KB
実行使用メモリ 71,400 KB
最終ジャッジ日時 2023-08-24 03:53:17
合計ジャッジ時間 2,930 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,276 KB
testcase_01 AC 75 ms
71,400 KB
testcase_02 AC 78 ms
71,208 KB
testcase_03 AC 76 ms
71,136 KB
testcase_04 AC 77 ms
71,076 KB
testcase_05 AC 74 ms
71,100 KB
testcase_06 AC 76 ms
70,928 KB
testcase_07 AC 77 ms
71,264 KB
testcase_08 AC 74 ms
71,128 KB
testcase_09 AC 76 ms
71,080 KB
testcase_10 AC 74 ms
71,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

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