結果
問題 | No.264 じゃんけん |
ユーザー | Yatsuku |
提出日時 | 2015-11-11 00:49:09 |
言語 | Ruby (3.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 336 bytes |
コンパイル時間 | 60 ms |
コンパイル使用メモリ | 11,492 KB |
実行使用メモリ | 15,356 KB |
最終ジャッジ日時 | 2023-10-11 15:35:16 |
合計ジャッジ時間 | 1,610 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
コンパイルメッセージ
Syntax OK
ソースコード
jibun = gets.chomp.to_i aite = gets.chomp.to_i if jibun == aite puts "Drew" return end if jibun == 0 if aite == 1 puts "Won" elsif aite == 2 puts "Lost" end end if jibun == 1 if aite == 2 puts "Won" elsif aite == 0 puts "Lost" end end if jibun == 2 if aite == 0 puts "Won" elsif aite == 1 puts "Lost" end end