結果

問題 No.469 区間加算と一致検索の問題
ユーザー tailstails
提出日時 2016-12-19 07:15:36
言語 Perl
(5.38.2)
結果
AC  
実行時間 253 ms / 5,000 ms
コード長 99 bytes
コンパイル時間 189 ms
コンパイル使用メモリ 5,372 KB
実行使用メモリ 32,496 KB
最終ジャッジ日時 2023-08-23 13:23:35
合計ジャッジ時間 7,606 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,708 KB
testcase_01 AC 2 ms
4,504 KB
testcase_02 AC 3 ms
5,396 KB
testcase_03 AC 13 ms
5,296 KB
testcase_04 AC 15 ms
5,396 KB
testcase_05 AC 16 ms
5,560 KB
testcase_06 AC 17 ms
5,880 KB
testcase_07 AC 17 ms
5,852 KB
testcase_08 AC 19 ms
6,080 KB
testcase_09 AC 8 ms
5,040 KB
testcase_10 AC 17 ms
4,716 KB
testcase_11 AC 7 ms
5,076 KB
testcase_12 AC 21 ms
6,360 KB
testcase_13 AC 13 ms
5,484 KB
testcase_14 AC 6 ms
4,956 KB
testcase_15 AC 8 ms
4,968 KB
testcase_16 AC 18 ms
5,900 KB
testcase_17 AC 16 ms
5,848 KB
testcase_18 AC 17 ms
5,748 KB
testcase_19 AC 5 ms
4,748 KB
testcase_20 AC 21 ms
6,344 KB
testcase_21 AC 6 ms
4,992 KB
testcase_22 AC 3 ms
4,604 KB
testcase_23 AC 101 ms
12,876 KB
testcase_24 AC 101 ms
12,916 KB
testcase_25 AC 103 ms
13,064 KB
testcase_26 AC 103 ms
12,972 KB
testcase_27 AC 102 ms
12,932 KB
testcase_28 AC 104 ms
12,900 KB
testcase_29 AC 102 ms
12,828 KB
testcase_30 AC 102 ms
13,092 KB
testcase_31 AC 100 ms
13,052 KB
testcase_32 AC 101 ms
13,036 KB
testcase_33 AC 251 ms
32,280 KB
testcase_34 AC 249 ms
32,496 KB
testcase_35 AC 253 ms
32,436 KB
testcase_36 AC 253 ms
32,344 KB
testcase_37 AC 249 ms
32,244 KB
testcase_38 AC 233 ms
25,916 KB
testcase_39 AC 231 ms
26,192 KB
testcase_40 AC 235 ms
26,080 KB
testcase_41 AC 233 ms
26,192 KB
testcase_42 AC 231 ms
26,144 KB
testcase_43 AC 231 ms
26,080 KB
testcase_44 AC 234 ms
26,028 KB
testcase_45 AC 235 ms
25,872 KB
testcase_46 AC 230 ms
26,124 KB
testcase_47 AC 233 ms
25,924 KB
testcase_48 AC 3 ms
4,660 KB
testcase_49 AC 3 ms
4,460 KB
testcase_50 AC 232 ms
26,068 KB
testcase_51 AC 233 ms
26,024 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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