結果

問題 No.264 じゃんけん
ユーザー maimai
提出日時 2016-01-21 00:51:13
言語 Ruby
(3.2.2)
結果
AC  
実行時間 83 ms / 5,000 ms
コード長 121 bytes
コンパイル時間 52 ms
コンパイル使用メモリ 11,920 KB
実行使用メモリ 16,100 KB
最終ジャッジ日時 2023-10-21 13:38:45
合計ジャッジ時間 1,336 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
16,100 KB
testcase_01 AC 71 ms
16,100 KB
testcase_02 AC 74 ms
16,100 KB
testcase_03 AC 74 ms
16,100 KB
testcase_04 AC 78 ms
16,100 KB
testcase_05 AC 74 ms
16,100 KB
testcase_06 AC 74 ms
16,100 KB
testcase_07 AC 73 ms
16,100 KB
testcase_08 AC 73 ms
16,100 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

cin = gets.split(" ").map(&:to_i)
e = (cin[0]-cin[1])%3
puts "Drew" if e == 0
puts "Won"  if e == 2
puts "Lost" if e == 1
0