結果

問題 No.8 N言っちゃダメゲーム
ユーザー zimphazimpha
提出日時 2017-12-05 18:05:19
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 76 ms / 5,000 ms
コード長 135 bytes
コンパイル時間 1,090 ms
コンパイル使用メモリ 77,352 KB
実行使用メモリ 76,468 KB
最終ジャッジ日時 2023-08-19 03:32:46
合計ジャッジ時間 2,768 ms
ジャッジサーバーID
(参考情報)
judge10 / judge9
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
76,428 KB
testcase_01 AC 73 ms
76,108 KB
testcase_02 AC 74 ms
76,468 KB
testcase_03 AC 74 ms
76,172 KB
testcase_04 AC 74 ms
76,104 KB
testcase_05 AC 74 ms
76,228 KB
testcase_06 AC 76 ms
76,304 KB
testcase_07 AC 76 ms
76,296 KB
testcase_08 AC 74 ms
76,296 KB
testcase_09 AC 75 ms
76,304 KB
testcase_10 AC 73 ms
76,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in xrange(int(raw_input())):
  n, k = map(int, raw_input().split())
  if (n - 1) % (k + 1) == 0: print 'Lose'
  else: print 'Win'
0