結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,188 KB
testcase_01 AC 78 ms
15,072 KB
testcase_02 WA -
testcase_03 AC 81 ms
15,240 KB
testcase_04 AC 78 ms
15,116 KB
testcase_05 AC 78 ms
15,032 KB
testcase_06 AC 79 ms
15,232 KB
testcase_07 AC 79 ms
15,292 KB
testcase_08 AC 78 ms
15,240 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 "Drew"
else
	puts "Lost"
end
0