結果

問題 No.469 区間加算と一致検索の問題
ユーザー tailstails
提出日時 2017-02-20 12:19:39
言語 Perl
(5.38.2)
結果
AC  
実行時間 235 ms / 5,000 ms
コード長 86 bytes
コンパイル時間 117 ms
コンパイル使用メモリ 5,384 KB
実行使用メモリ 32,416 KB
最終ジャッジ日時 2023-08-23 13:39:38
合計ジャッジ時間 7,130 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,512 KB
testcase_01 AC 3 ms
4,516 KB
testcase_02 AC 3 ms
5,424 KB
testcase_03 AC 11 ms
5,268 KB
testcase_04 AC 12 ms
5,548 KB
testcase_05 AC 14 ms
5,424 KB
testcase_06 AC 17 ms
5,788 KB
testcase_07 AC 17 ms
5,868 KB
testcase_08 AC 19 ms
5,924 KB
testcase_09 AC 9 ms
4,972 KB
testcase_10 AC 16 ms
4,744 KB
testcase_11 AC 7 ms
4,864 KB
testcase_12 AC 20 ms
6,252 KB
testcase_13 AC 12 ms
5,504 KB
testcase_14 AC 5 ms
4,724 KB
testcase_15 AC 8 ms
5,080 KB
testcase_16 AC 17 ms
5,896 KB
testcase_17 AC 15 ms
5,800 KB
testcase_18 AC 17 ms
5,720 KB
testcase_19 AC 5 ms
4,844 KB
testcase_20 AC 20 ms
6,264 KB
testcase_21 AC 7 ms
4,700 KB
testcase_22 AC 3 ms
4,536 KB
testcase_23 AC 98 ms
12,976 KB
testcase_24 AC 96 ms
13,024 KB
testcase_25 AC 97 ms
12,988 KB
testcase_26 AC 96 ms
12,896 KB
testcase_27 AC 99 ms
12,996 KB
testcase_28 AC 99 ms
13,040 KB
testcase_29 AC 97 ms
13,020 KB
testcase_30 AC 96 ms
12,908 KB
testcase_31 AC 97 ms
12,892 KB
testcase_32 AC 97 ms
13,028 KB
testcase_33 AC 232 ms
32,208 KB
testcase_34 AC 235 ms
32,388 KB
testcase_35 AC 231 ms
32,256 KB
testcase_36 AC 234 ms
32,416 KB
testcase_37 AC 230 ms
32,260 KB
testcase_38 AC 215 ms
25,924 KB
testcase_39 AC 212 ms
26,092 KB
testcase_40 AC 206 ms
25,920 KB
testcase_41 AC 207 ms
25,952 KB
testcase_42 AC 208 ms
25,924 KB
testcase_43 AC 206 ms
26,048 KB
testcase_44 AC 209 ms
26,108 KB
testcase_45 AC 208 ms
25,820 KB
testcase_46 AC 206 ms
26,036 KB
testcase_47 AC 210 ms
25,924 KB
testcase_48 AC 2 ms
4,648 KB
testcase_49 AC 2 ms
4,456 KB
testcase_50 AC 210 ms
26,080 KB
testcase_51 AC 203 ms
25,944 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

#!perl -nla
sub F{$a[pop@F]||=0|rand 9e9}$#F?$a{$h+=pop(@F)*(&F-F)}//=$.:print$a{$h}-1
0