結果
問題 | No.8 N言っちゃダメゲーム |
ユーザー | konchanksu |
提出日時 | 2020-04-29 14:38:37 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 293 bytes |
コンパイル時間 | 911 ms |
コンパイル使用メモリ | 10,496 KB |
実行使用メモリ | 7,936 KB |
最終ジャッジ日時 | 2023-08-19 01:30:05 |
合計ジャッジ時間 | 1,712 ms |
ジャッジサーバーID (参考情報) |
judge9 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 14 ms
7,800 KB |
testcase_01 | AC | 13 ms
7,848 KB |
testcase_02 | AC | 13 ms
7,796 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | AC | 14 ms
7,732 KB |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
ソースコード
P = int(input()) N, K = [], [] for i in range(P): te, mp = map(int, input().split()) N.append(te), K.append(mp) N = list(map(lambda x:x-1, N)) for i in range(P): if N[i] % (K[i] * 2 - 1) > 0 and N[i] % (K[i] * 2 - 1) <= K[i]: print('Win') else: print('Lose')