結果

問題 No.930 数列圧縮
ユーザー yuruhiyayuruhiya
提出日時 2020-10-25 19:46:40
言語 Ruby
(3.3.0)
結果
AC  
実行時間 218 ms / 2,000 ms
コード長 94 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 11,432 KB
実行使用メモリ 28,148 KB
最終ジャッジ日時 2023-09-29 02:12:35
合計ジャッジ時間 6,194 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
外部呼び出し有り
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,212 KB
testcase_01 AC 88 ms
15,160 KB
testcase_02 AC 89 ms
15,080 KB
testcase_03 AC 93 ms
15,032 KB
testcase_04 AC 87 ms
14,972 KB
testcase_05 AC 89 ms
15,236 KB
testcase_06 AC 89 ms
15,060 KB
testcase_07 AC 92 ms
15,500 KB
testcase_08 AC 175 ms
24,060 KB
testcase_09 AC 189 ms
25,532 KB
testcase_10 AC 177 ms
23,484 KB
testcase_11 AC 177 ms
24,128 KB
testcase_12 AC 191 ms
25,572 KB
testcase_13 AC 107 ms
21,684 KB
testcase_14 AC 111 ms
23,292 KB
testcase_15 AC 213 ms
28,148 KB
testcase_16 AC 213 ms
27,988 KB
testcase_17 AC 217 ms
28,108 KB
testcase_18 AC 213 ms
28,088 KB
testcase_19 AC 215 ms
27,988 KB
testcase_20 AC 214 ms
28,124 KB
testcase_21 AC 216 ms
28,044 KB
testcase_22 AC 87 ms
15,204 KB
testcase_23 AC 218 ms
27,984 KB
testcase_24 AC 90 ms
15,076 KB
testcase_25 AC 90 ms
15,232 KB
testcase_26 AC 88 ms
15,224 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval"A,*B,C=#"+`tr ' ' ,`
A>C&&puts(:No)+exit
puts:Yes,B.select{A<_1},B.reverse.select{A>_1},A
0