結果
問題 | No.8 N言っちゃダメゲーム |
ユーザー |
|
提出日時 | 2018-11-16 17:43:43 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 39 ms / 5,000 ms |
コード長 | 239 bytes |
コンパイル時間 | 101 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-12-24 14:10:39 |
合計ジャッジ時間 | 1,137 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
import sys N=[] K=[] P=int(input()) for i in range(P): str=input().split() N.append(int(str[0])) K.append(int(str[1])) for i in range(P): if ((N[i]-1)%(K[i]+1)) != 0: print("Win") else: print("Lose")