結果
| 問題 |
No.8 N言っちゃダメゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-08-13 13:26:19 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 12 ms / 5,000 ms |
| コード長 | 156 bytes |
| コンパイル時間 | 99 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-24 07:58:31 |
| 合計ジャッジ時間 | 711 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
p = int(input()) for i in range(p): n,k = map(int,raw_input().split()) if n <= k : print 'Win' continue print 'Lose' if (n-1)%(k+1) == 0 else 'Win'