結果

問題 No.264 じゃんけん
ユーザー tanukidontanukidon
提出日時 2018-03-18 22:15:07
言語 Ruby
(3.3.0)
結果
AC  
実行時間 81 ms / 5,000 ms
コード長 129 bytes
コンパイル時間 135 ms
コンパイル使用メモリ 11,208 KB
実行使用メモリ 15,260 KB
最終ジャッジ日時 2023-08-28 18:34:06
合計ジャッジ時間 1,782 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
15,260 KB
testcase_01 AC 75 ms
15,128 KB
testcase_02 AC 81 ms
15,092 KB
testcase_03 AC 77 ms
15,092 KB
testcase_04 AC 77 ms
15,148 KB
testcase_05 AC 79 ms
15,012 KB
testcase_06 AC 79 ms
15,092 KB
testcase_07 AC 77 ms
15,076 KB
testcase_08 AC 76 ms
15,232 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.chomp
case n
when "0 0","1 1","2 2"
puts "Drew"
when "2 0","0 1","1 2"
puts "Won"
when "0 2","1 0","2 1"
puts "Lost"
end
0