結果

問題 No.930 数列圧縮
ユーザー yuruhiyayuruhiya
提出日時 2020-10-25 20:18:55
言語 Ruby
(3.3.0)
結果
AC  
実行時間 244 ms / 2,000 ms
コード長 93 bytes
コンパイル時間 58 ms
コンパイル使用メモリ 11,336 KB
実行使用メモリ 33,976 KB
最終ジャッジ日時 2023-09-29 02:16:03
合計ジャッジ時間 6,670 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
15,160 KB
testcase_01 AC 88 ms
15,184 KB
testcase_02 AC 86 ms
15,248 KB
testcase_03 AC 84 ms
15,136 KB
testcase_04 AC 86 ms
15,156 KB
testcase_05 AC 88 ms
15,412 KB
testcase_06 AC 84 ms
15,080 KB
testcase_07 AC 89 ms
15,872 KB
testcase_08 AC 193 ms
27,700 KB
testcase_09 AC 211 ms
29,788 KB
testcase_10 AC 186 ms
26,628 KB
testcase_11 AC 199 ms
27,932 KB
testcase_12 AC 216 ms
29,856 KB
testcase_13 AC 122 ms
24,328 KB
testcase_14 AC 128 ms
26,576 KB
testcase_15 AC 244 ms
33,768 KB
testcase_16 AC 242 ms
33,908 KB
testcase_17 AC 243 ms
33,724 KB
testcase_18 AC 242 ms
33,748 KB
testcase_19 AC 244 ms
33,796 KB
testcase_20 AC 244 ms
33,976 KB
testcase_21 AC 243 ms
33,768 KB
testcase_22 AC 88 ms
15,316 KB
testcase_23 AC 242 ms
33,852 KB
testcase_24 AC 85 ms
15,248 KB
testcase_25 AC 84 ms
15,036 KB
testcase_26 AC 84 ms
15,232 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval"A,*B,C="+[*$<][1].split*?,
puts A>C ? :No:[:Yes,B.reverse.select{A>_1},B.select{A<_1},A]
0