結果

問題 No.264 じゃんけん
ユーザー msm10msm10
提出日時 2019-04-11 01:40:18
言語 Ruby
(3.3.0)
結果
AC  
実行時間 80 ms / 5,000 ms
コード長 156 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 11,304 KB
実行使用メモリ 15,288 KB
最終ジャッジ日時 2023-09-22 22:13:45
合計ジャッジ時間 1,817 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,020 KB
testcase_01 AC 79 ms
15,156 KB
testcase_02 AC 80 ms
15,044 KB
testcase_03 AC 78 ms
15,148 KB
testcase_04 AC 78 ms
15,196 KB
testcase_05 AC 78 ms
15,160 KB
testcase_06 AC 77 ms
15,288 KB
testcase_07 AC 78 ms
15,164 KB
testcase_08 AC 79 ms
15,088 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N, K = gets.split(' ')

puts case "#{N}#{K}"
     when /01|12|20/
        'Won'
     when /10|21|02/
        'Lost'
     when /00|11|22/
        'Drew'
end
0