結果

問題 No.851 テストケース
ユーザー c-yanc-yan
提出日時 2020-07-31 01:44:43
言語 Ruby
(3.3.0)
結果
AC  
実行時間 90 ms / 3,153 ms
コード長 75 bytes
コンパイル時間 259 ms
コンパイル使用メモリ 11,468 KB
実行使用メモリ 15,516 KB
最終ジャッジ日時 2023-09-18 13:19:38
合計ジャッジ時間 3,539 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
15,448 KB
testcase_01 AC 89 ms
15,280 KB
testcase_02 AC 88 ms
15,324 KB
testcase_03 AC 90 ms
15,392 KB
testcase_04 AC 88 ms
15,112 KB
testcase_05 AC 87 ms
15,516 KB
testcase_06 AC 88 ms
15,052 KB
testcase_07 AC 88 ms
15,240 KB
testcase_08 AC 88 ms
15,392 KB
testcase_09 AC 87 ms
15,232 KB
testcase_10 AC 86 ms
15,344 KB
testcase_11 AC 87 ms
15,356 KB
testcase_12 AC 88 ms
15,156 KB
testcase_13 AC 88 ms
15,332 KB
testcase_14 AC 87 ms
15,280 KB
testcase_15 AC 86 ms
15,456 KB
testcase_16 AC 88 ms
15,248 KB
testcase_17 AC 87 ms
15,488 KB
testcase_18 AC 87 ms
15,112 KB
testcase_19 AC 88 ms
15,440 KB
testcase_20 AC 88 ms
15,048 KB
testcase_21 AC 87 ms
15,156 KB
testcase_22 AC 88 ms
15,400 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require 'set'
_,a,b,c=$<.map &:to_i
p b ?Set[a+b,b+c,c+a].sort[-2]:"assert"
0