結果

問題 No.439 チワワのなる木
ユーザー tailstails
提出日時 2017-02-01 09:30:02
言語 Perl
(5.38.0)
結果
AC  
実行時間 985 ms / 5,000 ms
コード長 202 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 5,380 KB
実行使用メモリ 239,344 KB
最終ジャッジ日時 2023-08-25 17:00:55
合計ジャッジ時間 7,542 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,844 KB
testcase_01 AC 2 ms
4,792 KB
testcase_02 AC 3 ms
4,744 KB
testcase_03 AC 3 ms
4,776 KB
testcase_04 AC 3 ms
4,656 KB
testcase_05 AC 3 ms
4,644 KB
testcase_06 AC 3 ms
4,848 KB
testcase_07 AC 3 ms
4,680 KB
testcase_08 AC 3 ms
4,708 KB
testcase_09 AC 3 ms
4,912 KB
testcase_10 AC 3 ms
4,752 KB
testcase_11 AC 3 ms
4,768 KB
testcase_12 AC 3 ms
4,788 KB
testcase_13 AC 4 ms
5,096 KB
testcase_14 AC 4 ms
5,000 KB
testcase_15 AC 8 ms
5,692 KB
testcase_16 AC 10 ms
6,384 KB
testcase_17 AC 9 ms
6,036 KB
testcase_18 AC 474 ms
64,120 KB
testcase_19 AC 447 ms
60,852 KB
testcase_20 AC 610 ms
81,344 KB
testcase_21 AC 175 ms
28,564 KB
testcase_22 AC 142 ms
25,484 KB
testcase_23 AC 699 ms
98,688 KB
testcase_24 AC 985 ms
215,000 KB
testcase_25 AC 587 ms
88,000 KB
testcase_26 AC 591 ms
88,372 KB
testcase_27 AC 782 ms
239,344 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

eval'sub d{my(O,P,X,Y)=@_;myZ=S[O-1]=~w;$_-P&&(R=d($_,O)+Z*U*(W-V-1),X+=U,Y+=V)for@O;R+Z*(C-(U=X+!Z))*~-(V=Y+Z)}<>;$$_++for@s=<>=~/./g;/ /,push@{`},\'+!push@{\'+0},`for<>;print d 1'=~s/[A-Z`']/\$\l$&/gr
0