結果

問題 No.930 数列圧縮
ユーザー yuruhiyayuruhiya
提出日時 2020-10-25 20:06:25
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 1,056 ms / 2,000 ms
コード長 93 bytes
コンパイル時間 430 ms
コンパイル使用メモリ 122,264 KB
実行使用メモリ 149,476 KB
最終ジャッジ日時 2023-09-29 02:14:59
合計ジャッジ時間 20,510 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 402 ms
128,944 KB
testcase_01 AC 404 ms
128,780 KB
testcase_02 AC 405 ms
129,164 KB
testcase_03 AC 416 ms
128,864 KB
testcase_04 AC 424 ms
129,056 KB
testcase_05 AC 435 ms
130,208 KB
testcase_06 AC 391 ms
128,564 KB
testcase_07 AC 446 ms
131,084 KB
testcase_08 AC 749 ms
141,632 KB
testcase_09 AC 838 ms
143,180 KB
testcase_10 AC 771 ms
137,680 KB
testcase_11 AC 768 ms
140,176 KB
testcase_12 AC 822 ms
144,980 KB
testcase_13 AC 524 ms
129,924 KB
testcase_14 AC 544 ms
131,164 KB
testcase_15 AC 968 ms
147,664 KB
testcase_16 AC 1,056 ms
145,836 KB
testcase_17 AC 948 ms
146,472 KB
testcase_18 AC 936 ms
149,476 KB
testcase_19 AC 896 ms
145,916 KB
testcase_20 AC 905 ms
146,996 KB
testcase_21 AC 902 ms
147,492 KB
testcase_22 AC 412 ms
128,648 KB
testcase_23 AC 973 ms
147,156 KB
testcase_24 AC 403 ms
128,508 KB
testcase_25 AC 391 ms
128,324 KB
testcase_26 AC 399 ms
128,872 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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