結果

問題 No.8 N言っちゃダメゲーム
ユーザー 👑 colognecologne
提出日時 2022-01-20 15:36:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 5,000 ms
コード長 230 bytes
コンパイル時間 401 ms
コンパイル使用メモリ 87,344 KB
実行使用メモリ 71,700 KB
最終ジャッジ日時 2023-08-15 13:06:16
合計ジャッジ時間 2,201 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,192 KB
testcase_01 AC 72 ms
71,648 KB
testcase_02 AC 74 ms
71,700 KB
testcase_03 AC 71 ms
71,400 KB
testcase_04 AC 72 ms
71,388 KB
testcase_05 AC 71 ms
71,332 KB
testcase_06 AC 71 ms
71,192 KB
testcase_07 AC 71 ms
71,544 KB
testcase_08 AC 70 ms
71,460 KB
testcase_09 AC 72 ms
71,336 KB
testcase_10 AC 71 ms
71,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

input = sys.stdin.readline


def main():
    P = int(input())

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


if __name__ == '__main__':
    main()
0