結果
| 問題 |
No.8 N言っちゃダメゲーム
|
| ユーザー |
tnodino
|
| 提出日時 | 2022-01-30 17:54:38 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 5,000 ms |
| コード長 | 203 bytes |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-06-11 08:20:17 |
| 合計ジャッジ時間 | 1,204 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
Limit = 21
P = int(input())
for _ in range(P):
N,K = map(int,input().split())
if N <= K:
print('Win')
elif (N - 1) % (K + 1) == 0:
print('Lose')
else:
print('Win')
tnodino