結果

問題 No.930 数列圧縮
ユーザー yuruhiyayuruhiya
提出日時 2020-10-25 20:11:35
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 1,055 ms / 2,000 ms
コード長 92 bytes
コンパイル時間 509 ms
コンパイル使用メモリ 122,352 KB
実行使用メモリ 151,128 KB
最終ジャッジ日時 2023-09-29 02:15:41
合計ジャッジ時間 20,951 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 409 ms
131,872 KB
testcase_01 AC 423 ms
132,380 KB
testcase_02 AC 421 ms
132,588 KB
testcase_03 AC 418 ms
132,532 KB
testcase_04 AC 430 ms
132,704 KB
testcase_05 AC 439 ms
132,796 KB
testcase_06 AC 405 ms
132,208 KB
testcase_07 AC 453 ms
132,568 KB
testcase_08 AC 749 ms
144,836 KB
testcase_09 AC 858 ms
145,544 KB
testcase_10 AC 749 ms
140,208 KB
testcase_11 AC 760 ms
140,868 KB
testcase_12 AC 809 ms
147,188 KB
testcase_13 AC 537 ms
132,432 KB
testcase_14 AC 557 ms
134,328 KB
testcase_15 AC 964 ms
149,604 KB
testcase_16 AC 1,055 ms
148,012 KB
testcase_17 AC 948 ms
148,636 KB
testcase_18 AC 955 ms
151,128 KB
testcase_19 AC 904 ms
148,748 KB
testcase_20 AC 903 ms
149,040 KB
testcase_21 AC 905 ms
150,084 KB
testcase_22 AC 412 ms
131,868 KB
testcase_23 AC 977 ms
150,144 KB
testcase_24 AC 410 ms
132,036 KB
testcase_25 AC 406 ms
131,788 KB
testcase_26 AC 412 ms
131,868 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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