結果

問題 No.8 N言っちゃダメゲーム
ユーザー koba-e964koba-e964
提出日時 2016-08-07 17:54:36
言語 Ruby
(3.3.0)
結果
AC  
実行時間 79 ms / 5,000 ms
コード長 71 bytes
コンパイル時間 68 ms
コンパイル使用メモリ 11,420 KB
実行使用メモリ 15,300 KB
最終ジャッジ日時 2023-08-27 01:42:08
合計ジャッジ時間 1,719 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,220 KB
testcase_01 AC 77 ms
15,020 KB
testcase_02 AC 69 ms
15,108 KB
testcase_03 AC 74 ms
15,280 KB
testcase_04 AC 72 ms
15,300 KB
testcase_05 AC 74 ms
15,008 KB
testcase_06 AC 78 ms
15,080 KB
testcase_07 AC 73 ms
15,084 KB
testcase_08 AC 75 ms
15,288 KB
testcase_09 AC 74 ms
15,152 KB
testcase_10 AC 72 ms
15,056 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
while t=gets;n,k=t.split;puts(n.to_i%(k.to_i+1)==1?:Lose:"Win")end
0