結果

問題 No.201 yukicoderじゃんけん
ユーザー mmmpppmmmppp
提出日時 2017-02-26 02:45:30
言語 Ruby
(3.3.0)
結果
AC  
実行時間 90 ms / 5,000 ms
コード長 60 bytes
コンパイル時間 60 ms
コンパイル使用メモリ 11,576 KB
実行使用メモリ 15,680 KB
最終ジャッジ日時 2023-09-02 08:41:51
合計ジャッジ時間 2,912 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
15,052 KB
testcase_01 AC 84 ms
15,324 KB
testcase_02 AC 83 ms
15,228 KB
testcase_03 AC 83 ms
15,460 KB
testcase_04 AC 81 ms
15,232 KB
testcase_05 AC 87 ms
15,528 KB
testcase_06 AC 82 ms
15,368 KB
testcase_07 AC 82 ms
15,380 KB
testcase_08 AC 82 ms
15,268 KB
testcase_09 AC 82 ms
15,480 KB
testcase_10 AC 84 ms
15,276 KB
testcase_11 AC 82 ms
15,408 KB
testcase_12 AC 84 ms
15,528 KB
testcase_13 AC 83 ms
15,340 KB
testcase_14 AC 84 ms
15,100 KB
testcase_15 AC 83 ms
15,480 KB
testcase_16 AC 83 ms
15,424 KB
testcase_17 AC 83 ms
15,504 KB
testcase_18 AC 83 ms
15,420 KB
testcase_19 AC 83 ms
15,680 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a,b=$<.map &:split;$><<[-1,a[0],b[0]][a[1].to_i<=>b[1].to_i]
0