結果

問題 No.930 数列圧縮
ユーザー yuruhiyayuruhiya
提出日時 2020-10-25 20:30:26
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 1,058 ms / 2,000 ms
コード長 89 bytes
コンパイル時間 324 ms
コンパイル使用メモリ 122,308 KB
実行使用メモリ 153,516 KB
最終ジャッジ日時 2023-09-29 02:17:33
合計ジャッジ時間 20,532 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 400 ms
132,212 KB
testcase_01 AC 405 ms
132,240 KB
testcase_02 AC 402 ms
132,236 KB
testcase_03 AC 414 ms
132,632 KB
testcase_04 AC 419 ms
132,256 KB
testcase_05 AC 442 ms
131,868 KB
testcase_06 AC 402 ms
132,296 KB
testcase_07 AC 446 ms
134,648 KB
testcase_08 AC 744 ms
147,176 KB
testcase_09 AC 841 ms
149,068 KB
testcase_10 AC 758 ms
140,860 KB
testcase_11 AC 753 ms
144,924 KB
testcase_12 AC 811 ms
147,744 KB
testcase_13 AC 524 ms
131,992 KB
testcase_14 AC 551 ms
134,152 KB
testcase_15 AC 976 ms
152,080 KB
testcase_16 AC 1,058 ms
149,568 KB
testcase_17 AC 950 ms
149,932 KB
testcase_18 AC 946 ms
153,516 KB
testcase_19 AC 899 ms
149,056 KB
testcase_20 AC 892 ms
150,824 KB
testcase_21 AC 897 ms
150,896 KB
testcase_22 AC 410 ms
132,232 KB
testcase_23 AC 985 ms
151,164 KB
testcase_24 AC 406 ms
132,032 KB
testcase_25 AC 410 ms
132,152 KB
testcase_26 AC 397 ms
132,088 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

get;$/=+<<words;put $0>$/[*-1]??"No"!!("Yes",$/[^+^-*].grep(*>$0),$/.grep($0>=*).reverse)
0