結果

問題 No.201 yukicoderじゃんけん
ユーザー LeonardoneLeonardone
提出日時 2015-10-17 02:30:15
言語 Ruby
(3.3.0)
結果
AC  
実行時間 80 ms / 5,000 ms
コード長 196 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 11,356 KB
実行使用メモリ 15,540 KB
最終ジャッジ日時 2023-09-29 13:27:39
合計ジャッジ時間 2,979 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,280 KB
testcase_01 AC 79 ms
15,168 KB
testcase_02 AC 78 ms
15,148 KB
testcase_03 AC 78 ms
15,448 KB
testcase_04 AC 76 ms
15,116 KB
testcase_05 AC 77 ms
15,244 KB
testcase_06 AC 77 ms
15,284 KB
testcase_07 AC 78 ms
15,192 KB
testcase_08 AC 76 ms
15,432 KB
testcase_09 AC 77 ms
15,248 KB
testcase_10 AC 77 ms
15,332 KB
testcase_11 AC 80 ms
15,116 KB
testcase_12 AC 79 ms
15,456 KB
testcase_13 AC 77 ms
15,224 KB
testcase_14 AC 77 ms
15,200 KB
testcase_15 AC 80 ms
15,456 KB
testcase_16 AC 79 ms
15,432 KB
testcase_17 AC 79 ms
15,476 KB
testcase_18 AC 78 ms
15,456 KB
testcase_19 AC 79 ms
15,540 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#! ruby
# yukicoder My Practice
# author: Leonardone @ NEETSDKASU

A = gets.chomp.split
B = gets.chomp.split

case A[1].to_i <=> B[1].to_i
when 0
	puts '-1'
when 1
	puts A[0]
else
	puts B[0]
end
	
0