結果

問題 No.1 道のショートカット
ユーザー tailstails
提出日時 2016-12-15 19:01:32
言語 Perl
(5.38.2)
結果
AC  
実行時間 108 ms / 5,000 ms
コード長 138 bytes
コンパイル時間 50 ms
コンパイル使用メモリ 5,392 KB
実行使用メモリ 20,380 KB
最終ジャッジ日時 2023-09-27 22:02:59
合計ジャッジ時間 2,228 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,140 KB
testcase_01 AC 5 ms
5,212 KB
testcase_02 AC 6 ms
5,236 KB
testcase_03 AC 4 ms
5,092 KB
testcase_04 AC 4 ms
5,100 KB
testcase_05 AC 5 ms
5,128 KB
testcase_06 AC 6 ms
5,016 KB
testcase_07 AC 6 ms
5,260 KB
testcase_08 AC 108 ms
20,380 KB
testcase_09 AC 25 ms
8,468 KB
testcase_10 AC 42 ms
10,332 KB
testcase_11 AC 14 ms
6,236 KB
testcase_12 AC 35 ms
9,012 KB
testcase_13 AC 35 ms
10,320 KB
testcase_14 AC 7 ms
5,488 KB
testcase_15 AC 6 ms
5,036 KB
testcase_16 AC 12 ms
6,396 KB
testcase_17 AC 5 ms
5,280 KB
testcase_18 AC 8 ms
5,340 KB
testcase_19 AC 8 ms
5,248 KB
testcase_20 AC 9 ms
5,956 KB
testcase_21 AC 6 ms
5,236 KB
testcase_22 AC 6 ms
5,308 KB
testcase_23 AC 59 ms
12,124 KB
testcase_24 AC 23 ms
7,424 KB
testcase_25 AC 8 ms
5,584 KB
testcase_26 AC 9 ms
5,928 KB
testcase_27 AC 38 ms
9,236 KB
testcase_28 AC 5 ms
5,140 KB
testcase_29 AC 37 ms
9,748 KB
testcase_30 AC 10 ms
5,844 KB
testcase_31 AC 11 ms
5,944 KB
testcase_32 AC 26 ms
7,776 KB
testcase_33 AC 15 ms
6,496 KB
testcase_34 AC 26 ms
8,616 KB
testcase_35 AC 11 ms
5,648 KB
testcase_36 AC 24 ms
7,452 KB
testcase_37 AC 24 ms
7,156 KB
testcase_38 AC 6 ms
5,284 KB
testcase_39 AC 8 ms
5,704 KB
testcase_40 AC 9 ms
5,540 KB
testcase_41 AC 7 ms
5,488 KB
testcase_42 AC 5 ms
5,124 KB
testcase_43 AC 5 ms
5,128 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible unintended interpolation of @P in string at Main.pl line 1.
Possible precedence problem on bitwise & operator at Main.pl line 1.
Name "main::V" 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.
Name "main::U" 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)=@_;$i=="@P"?$\=$t:map$S[$_]-$i||f($T[$_],$c-$U[$_],$t+$V[$_]),0..@S if$c>=0&$t<$\<<0}f!$\--,@Q;print
0