結果

問題 No.1 道のショートカット
ユーザー tailstails
提出日時 2019-09-06 15:45:58
言語 Perl
(5.38.0)
結果
AC  
実行時間 147 ms / 5,000 ms
コード長 136 bytes
コンパイル時間 395 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 24,004 KB
最終ジャッジ日時 2023-09-27 22:22:07
合計ジャッジ時間 2,704 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
5,276 KB
testcase_01 AC 5 ms
5,076 KB
testcase_02 AC 5 ms
5,152 KB
testcase_03 AC 5 ms
5,152 KB
testcase_04 AC 5 ms
5,096 KB
testcase_05 AC 5 ms
5,164 KB
testcase_06 AC 5 ms
5,196 KB
testcase_07 AC 6 ms
5,308 KB
testcase_08 AC 128 ms
23,468 KB
testcase_09 AC 27 ms
8,384 KB
testcase_10 AC 44 ms
10,608 KB
testcase_11 AC 14 ms
6,312 KB
testcase_12 AC 34 ms
9,088 KB
testcase_13 AC 35 ms
10,236 KB
testcase_14 AC 7 ms
5,496 KB
testcase_15 AC 5 ms
5,280 KB
testcase_16 AC 12 ms
6,348 KB
testcase_17 AC 5 ms
5,372 KB
testcase_18 AC 5 ms
5,316 KB
testcase_19 AC 6 ms
5,480 KB
testcase_20 AC 9 ms
6,168 KB
testcase_21 AC 6 ms
5,224 KB
testcase_22 AC 5 ms
5,248 KB
testcase_23 AC 147 ms
24,004 KB
testcase_24 AC 42 ms
9,500 KB
testcase_25 AC 7 ms
5,516 KB
testcase_26 AC 11 ms
6,060 KB
testcase_27 AC 43 ms
9,592 KB
testcase_28 AC 5 ms
5,372 KB
testcase_29 AC 42 ms
10,236 KB
testcase_30 AC 11 ms
6,184 KB
testcase_31 AC 25 ms
7,020 KB
testcase_32 AC 25 ms
7,876 KB
testcase_33 AC 14 ms
6,336 KB
testcase_34 AC 25 ms
8,632 KB
testcase_35 AC 11 ms
5,796 KB
testcase_36 AC 23 ms
7,508 KB
testcase_37 AC 23 ms
7,272 KB
testcase_38 AC 5 ms
5,200 KB
testcase_39 AC 7 ms
5,516 KB
testcase_40 AC 7 ms
5,672 KB
testcase_41 AC 7 ms
5,340 KB
testcase_42 AC 4 ms
5,324 KB
testcase_43 AC 5 ms
5,160 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 1.
Possible unintended interpolation of @P in string at Main.pl line 1.
Name "main::V" used only once: possible typo at Main.pl line 1.
Name "main::U" used only once: possible typo at Main.pl line 1.
Name "main::T" used only once: possible typo at Main.pl line 1.
Name "main::P" used only once: possible typo at Main.pl line 1.
Name "main::Q" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

@$_=glob<>for P..V;sub f{my($i,$c,$t)=@_;$c<0|$t>$\<<0or$i=="@P"?$\=$t:map$S[$_]-$i||f($T[$_],$c-$U[$_],$t+$V[$_]),0..@S}f!$\--,@Q;print
0