結果

問題 No.17 2つの地点に泊まりたい
ユーザー %20%20
提出日時 2017-07-18 03:06:34
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 238 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 5,632 KB
実行使用メモリ 6,144 KB
最終ジャッジ日時 2024-04-17 00:27:19
合計ジャッジ時間 1,945 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 7 ms
5,504 KB
testcase_03 AC 81 ms
5,632 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 4 ms
5,504 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 3 ms
5,504 KB
testcase_17 AC 13 ms
5,632 KB
testcase_18 WA -
testcase_19 AC 58 ms
5,760 KB
testcase_20 AC 9 ms
5,504 KB
testcase_21 AC 6 ms
5,632 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 4.
Main.pl syntax OK

ソースコード

diff #

$N=<>-1;
@S=map/ .* /?$%[$&][$`]=$%[$`][$&]=$':$_,<>;
for$k(@@=0..$N){//,map$%[$'][$_]-=$-=($%[$'][$_]||=$\=9e9)-$%[$k][$']-$%[$k][$_],@@for@@}
//,map$i-$_&&($\-=$-=$\-$S[$']-$S[$_]-$%[0][$']-$%[$'][$_]-$%[$_][$N]),@@for@@=1..$N-1;
print
0