結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,680 KB
testcase_01 AC 3 ms
4,596 KB
testcase_02 AC 3 ms
5,300 KB
testcase_03 AC 12 ms
5,456 KB
testcase_04 AC 12 ms
5,384 KB
testcase_05 AC 14 ms
5,604 KB
testcase_06 AC 16 ms
5,888 KB
testcase_07 AC 16 ms
5,760 KB
testcase_08 AC 19 ms
5,972 KB
testcase_09 AC 9 ms
5,252 KB
testcase_10 AC 16 ms
4,716 KB
testcase_11 AC 7 ms
4,976 KB
testcase_12 AC 21 ms
6,144 KB
testcase_13 AC 13 ms
5,584 KB
testcase_14 AC 5 ms
4,972 KB
testcase_15 AC 8 ms
5,156 KB
testcase_16 AC 18 ms
6,008 KB
testcase_17 AC 16 ms
5,860 KB
testcase_18 AC 17 ms
5,692 KB
testcase_19 AC 5 ms
4,976 KB
testcase_20 AC 20 ms
6,112 KB
testcase_21 AC 6 ms
5,028 KB
testcase_22 AC 3 ms
4,712 KB
testcase_23 AC 97 ms
12,944 KB
testcase_24 AC 97 ms
12,964 KB
testcase_25 AC 98 ms
12,824 KB
testcase_26 AC 97 ms
12,840 KB
testcase_27 AC 97 ms
12,856 KB
testcase_28 AC 97 ms
13,076 KB
testcase_29 AC 97 ms
13,076 KB
testcase_30 AC 98 ms
12,888 KB
testcase_31 AC 97 ms
12,844 KB
testcase_32 AC 102 ms
13,080 KB
testcase_33 AC 244 ms
32,260 KB
testcase_34 AC 242 ms
32,376 KB
testcase_35 AC 243 ms
32,448 KB
testcase_36 AC 241 ms
32,220 KB
testcase_37 AC 242 ms
32,388 KB
testcase_38 AC 215 ms
25,996 KB
testcase_39 AC 218 ms
26,176 KB
testcase_40 AC 217 ms
26,128 KB
testcase_41 AC 219 ms
25,928 KB
testcase_42 AC 219 ms
26,052 KB
testcase_43 AC 218 ms
26,148 KB
testcase_44 AC 224 ms
26,144 KB
testcase_45 AC 219 ms
25,920 KB
testcase_46 AC 216 ms
26,084 KB
testcase_47 AC 215 ms
25,912 KB
testcase_48 AC 2 ms
4,700 KB
testcase_49 AC 3 ms
4,712 KB
testcase_50 AC 220 ms
26,048 KB
testcase_51 AC 221 ms
25,920 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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