結果

問題 No.201 yukicoderじゃんけん
ユーザー MaxMellonMaxMellon
提出日時 2015-10-09 03:01:28
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 113 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 11,236 KB
実行使用メモリ 15,420 KB
最終ジャッジ日時 2023-09-27 08:13:47
合計ジャッジ時間 2,393 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,336 KB
testcase_01 WA -
testcase_02 AC 74 ms
15,040 KB
testcase_03 WA -
testcase_04 AC 71 ms
15,296 KB
testcase_05 AC 74 ms
15,160 KB
testcase_06 AC 80 ms
15,164 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 70 ms
15,144 KB
testcase_10 AC 72 ms
15,032 KB
testcase_11 AC 71 ms
15,100 KB
testcase_12 AC 71 ms
15,172 KB
testcase_13 AC 70 ms
15,152 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 74 ms
15,096 KB
testcase_17 AC 71 ms
15,288 KB
testcase_18 AC 72 ms
15,164 KB
testcase_19 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a = gets.chomp.split(' ')
b = gets.chomp.split(' ')
puts a[1] == b[1] ? -1 : a[1].to_f > b[1].to_f ? a[0] : b[0]
0