結果

問題 No.264 じゃんけん
ユーザー mikanmikan
提出日時 2015-10-08 22:00:56
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 133 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 11,304 KB
実行使用メモリ 15,400 KB
最終ジャッジ日時 2023-09-27 08:08:57
合計ジャッジ時間 1,618 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 82 ms
15,148 KB
testcase_02 WA -
testcase_03 AC 85 ms
15,208 KB
testcase_04 WA -
testcase_05 AC 81 ms
15,216 KB
testcase_06 AC 81 ms
15,292 KB
testcase_07 AC 80 ms
15,300 KB
testcase_08 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N,K=gets.split.map(&:to_i)
if N < K 
	puts "Won"
elsif N == 2 && K == 0 
	puts "Won"
elsif N == K
	puts "Draw"
else
	puts "Lost"
end
0