結果

問題 No.107 モンスター
ユーザー tailstails
提出日時 2021-03-04 15:56:18
言語 Perl
(5.38.2)
結果
RE  
実行時間 -
コード長 159 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 6,940 KB
実行使用メモリ 11,136 KB
最終ジャッジ日時 2024-04-15 08:08:41
合計ジャッジ時間 2,176 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
6,816 KB
testcase_01 AC 7 ms
6,812 KB
testcase_02 AC 8 ms
6,940 KB
testcase_03 AC 8 ms
6,940 KB
testcase_04 AC 8 ms
6,940 KB
testcase_05 AC 7 ms
6,940 KB
testcase_06 AC 7 ms
6,940 KB
testcase_07 AC 7 ms
6,940 KB
testcase_08 AC 7 ms
6,940 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 AC 131 ms
9,344 KB
testcase_15 AC 131 ms
9,344 KB
testcase_16 AC 8 ms
6,940 KB
testcase_17 RE -
testcase_18 AC 31 ms
10,240 KB
testcase_19 RE -
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 AC 92 ms
11,136 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

@g=@h=100;$h[$m=$_]&&map{$m&1<<$_ or$h[$k=$m|1<<$_]+=$-=($b=$g[$k]=$g[$m]+($@[$_]<0)*100)-($-=$b-$h[$m]-$@[$_])-$h[$k]}0..$#@for 0..2**<>,@@=glob<>;print$h[-1]
0