結果

問題 No.23 技の選択
ユーザー なおなお
提出日時 2015-02-10 18:41:13
言語 Perl
(5.38.2)
結果
AC  
実行時間 7 ms / 5,000 ms
コード長 108 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 5,424 KB
最終ジャッジ日時 2023-09-11 02:15:48
合計ジャッジ時間 1,476 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,700 KB
testcase_01 AC 2 ms
4,712 KB
testcase_02 AC 3 ms
4,704 KB
testcase_03 AC 6 ms
5,308 KB
testcase_04 AC 7 ms
5,412 KB
testcase_05 AC 7 ms
5,308 KB
testcase_06 AC 6 ms
5,188 KB
testcase_07 AC 5 ms
5,096 KB
testcase_08 AC 5 ms
5,064 KB
testcase_09 AC 7 ms
5,424 KB
testcase_10 AC 6 ms
5,164 KB
testcase_11 AC 2 ms
4,804 KB
testcase_12 AC 5 ms
4,908 KB
testcase_13 AC 6 ms
5,184 KB
testcase_14 AC 5 ms
5,184 KB
testcase_15 AC 6 ms
5,164 KB
testcase_16 AC 3 ms
4,680 KB
testcase_17 AC 5 ms
4,996 KB
testcase_18 AC 5 ms
5,072 KB
testcase_19 AC 6 ms
5,176 KB
testcase_20 AC 3 ms
4,852 KB
testcase_21 AC 3 ms
4,672 KB
testcase_22 AC 5 ms
5,076 KB
testcase_23 AC 3 ms
4,952 KB
testcase_24 AC 3 ms
4,792 KB
testcase_25 AC 7 ms
5,316 KB
testcase_26 AC 4 ms
4,940 KB
testcase_27 AC 6 ms
5,204 KB
testcase_28 AC 6 ms
5,152 KB
testcase_29 AC 6 ms
5,212 KB
testcase_30 AC 7 ms
5,332 KB
testcase_31 AC 6 ms
5,268 KB
testcase_32 AC 6 ms
5,180 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$/=$";($h,$a,$d)=<>;$i=$b[$_>$a?$_-$a:0]+2,$j=$b[$_>$d?$_-$d:0]+3,$b[$_]=$i>$j?$j:$i for 1..$h;print$b[$h]/2
0