結果

問題 No.8 N言っちゃダメゲーム
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2022-11-28 08:18:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 50 ms / 5,000 ms
コード長 340 bytes
コンパイル時間 251 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 55,936 KB
最終ジャッジ日時 2024-04-15 10:22:08
合計ジャッジ時間 1,569 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
55,168 KB
testcase_01 AC 47 ms
55,640 KB
testcase_02 AC 50 ms
54,912 KB
testcase_03 AC 47 ms
55,680 KB
testcase_04 AC 48 ms
55,424 KB
testcase_05 AC 47 ms
55,300 KB
testcase_06 AC 49 ms
55,936 KB
testcase_07 AC 49 ms
55,296 KB
testcase_08 AC 49 ms
55,680 KB
testcase_09 AC 49 ms
55,552 KB
testcase_10 AC 50 ms
55,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# import pypyjit
# pypyjit.set_param('max_unroll_recursion=-1')
from collections import *
from functools import *
from itertools import *
from heapq import *
import sys,math

input = sys.stdin.readline

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