結果
| 問題 | No.8 N言っちゃダメゲーム |
| コンテスト | |
| ユーザー |
nbisco
|
| 提出日時 | 2016-04-11 23:40:38 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 21 ms / 5,000 ms |
| + 85µs | |
| コード長 | 205 bytes |
| 記録 | |
| コンパイル時間 | 58 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2026-09-10 01:27:27 |
| 合計ジャッジ時間 | 1,985 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#!/usr/bin/env python3
#fileencoding: utf-8
for _ in range(int(input())):
N, K = [int(i) for i in input().strip().split(" ")]
if N%(K+1) != 1:
print("Win")
else:
print("Lose")
nbisco