結果
問題 | No.8 N言っちゃダメゲーム |
ユーザー |
![]() |
提出日時 | 2019-05-20 23:59:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 5,000 ms |
コード長 | 246 bytes |
コンパイル時間 | 100 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-17 08:40:54 |
合計ジャッジ時間 | 1,206 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
def check(limit,call_max): to_call = limit - 1 to_call %= ( call_max + 1 ) if 0 < to_call <= call_max: return "Win" else: return "Lose" n = int(input()) for i in range(n): n, k = [ int(v) for v in input().split() ] print(check(n, k))