結果

問題 No.930 数列圧縮
ユーザー yuruhiyayuruhiya
提出日時 2020-10-25 19:48:12
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 86 bytes
コンパイル時間 65 ms
コンパイル使用メモリ 11,580 KB
実行使用メモリ 28,260 KB
最終ジャッジ日時 2023-09-29 02:12:52
合計ジャッジ時間 6,897 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
15,156 KB
testcase_01 AC 88 ms
15,160 KB
testcase_02 AC 88 ms
15,080 KB
testcase_03 AC 89 ms
15,300 KB
testcase_04 AC 88 ms
15,196 KB
testcase_05 AC 91 ms
15,092 KB
testcase_06 WA -
testcase_07 AC 94 ms
15,680 KB
testcase_08 AC 176 ms
23,844 KB
testcase_09 AC 187 ms
25,604 KB
testcase_10 AC 171 ms
23,480 KB
testcase_11 AC 178 ms
24,124 KB
testcase_12 AC 192 ms
25,712 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 219 ms
28,124 KB
testcase_16 AC 219 ms
28,144 KB
testcase_17 AC 216 ms
28,260 KB
testcase_18 AC 214 ms
28,112 KB
testcase_19 AC 221 ms
27,984 KB
testcase_20 AC 217 ms
28,040 KB
testcase_21 AC 219 ms
28,120 KB
testcase_22 AC 88 ms
15,244 KB
testcase_23 AC 215 ms
28,096 KB
testcase_24 AC 88 ms
15,196 KB
testcase_25 WA -
testcase_26 AC 89 ms
14,980 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