結果

問題 No.8 N言っちゃダメゲーム
ユーザー brthyyjpbrthyyjp
提出日時 2020-11-13 21:03:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 150 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 87,276 KB
実行使用メモリ 71,440 KB
最終ジャッジ日時 2023-09-30 02:29:10
合計ジャッジ時間 1,778 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,240 KB
testcase_01 AC 69 ms
71,024 KB
testcase_02 AC 71 ms
71,416 KB
testcase_03 AC 73 ms
71,228 KB
testcase_04 AC 77 ms
71,312 KB
testcase_05 AC 75 ms
71,116 KB
testcase_06 AC 72 ms
71,420 KB
testcase_07 AC 71 ms
71,420 KB
testcase_08 AC 73 ms
71,308 KB
testcase_09 AC 72 ms
71,172 KB
testcase_10 AC 74 ms
71,440 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

p = int(input())
for i in range(p):
    n,k = map(int, input().split())
    if (n-1)%(k+1) == 0:
        print('Lose')
    else:
        print('Win')
0