結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
15,036 KB
testcase_01 AC 90 ms
15,292 KB
testcase_02 AC 89 ms
15,084 KB
testcase_03 AC 90 ms
15,160 KB
testcase_04 AC 89 ms
15,160 KB
testcase_05 AC 92 ms
15,300 KB
testcase_06 AC 89 ms
15,172 KB
testcase_07 AC 94 ms
15,544 KB
testcase_08 AC 176 ms
24,064 KB
testcase_09 AC 193 ms
25,768 KB
testcase_10 AC 174 ms
23,508 KB
testcase_11 AC 178 ms
24,232 KB
testcase_12 AC 192 ms
25,476 KB
testcase_13 AC 109 ms
21,688 KB
testcase_14 AC 113 ms
23,328 KB
testcase_15 AC 219 ms
27,992 KB
testcase_16 AC 218 ms
28,104 KB
testcase_17 AC 219 ms
28,160 KB
testcase_18 AC 217 ms
28,096 KB
testcase_19 AC 218 ms
28,148 KB
testcase_20 AC 216 ms
28,228 KB
testcase_21 AC 215 ms
27,984 KB
testcase_22 AC 90 ms
15,060 KB
testcase_23 AC 215 ms
28,156 KB
testcase_24 AC 88 ms
15,192 KB
testcase_25 AC 89 ms
15,240 KB
testcase_26 AC 90 ms
15,196 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval"A,*B,C=#"+`tr ' ' ,`
puts A>C ? :No:[:Yes,B.select{A<_1},B.reverse.select{A>_1},A]
0