結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,508 KB
testcase_01 AC 3 ms
4,716 KB
testcase_02 AC 3 ms
5,488 KB
testcase_03 AC 12 ms
5,340 KB
testcase_04 AC 13 ms
5,596 KB
testcase_05 AC 14 ms
5,708 KB
testcase_06 AC 16 ms
5,872 KB
testcase_07 AC 17 ms
5,756 KB
testcase_08 AC 19 ms
6,060 KB
testcase_09 AC 9 ms
5,256 KB
testcase_10 AC 17 ms
4,936 KB
testcase_11 AC 7 ms
5,100 KB
testcase_12 AC 21 ms
6,304 KB
testcase_13 AC 14 ms
5,608 KB
testcase_14 AC 6 ms
5,012 KB
testcase_15 AC 8 ms
5,052 KB
testcase_16 AC 18 ms
6,008 KB
testcase_17 AC 16 ms
5,848 KB
testcase_18 AC 17 ms
5,920 KB
testcase_19 AC 5 ms
5,016 KB
testcase_20 AC 20 ms
6,152 KB
testcase_21 AC 6 ms
5,012 KB
testcase_22 AC 3 ms
4,736 KB
testcase_23 AC 101 ms
12,860 KB
testcase_24 AC 99 ms
12,848 KB
testcase_25 AC 99 ms
12,888 KB
testcase_26 AC 100 ms
13,000 KB
testcase_27 AC 100 ms
13,096 KB
testcase_28 AC 99 ms
13,040 KB
testcase_29 AC 99 ms
12,956 KB
testcase_30 AC 99 ms
12,840 KB
testcase_31 AC 104 ms
12,940 KB
testcase_32 AC 101 ms
13,100 KB
testcase_33 AC 244 ms
32,296 KB
testcase_34 AC 241 ms
32,496 KB
testcase_35 AC 245 ms
32,260 KB
testcase_36 AC 250 ms
32,472 KB
testcase_37 AC 248 ms
32,332 KB
testcase_38 AC 229 ms
26,096 KB
testcase_39 AC 225 ms
26,200 KB
testcase_40 AC 220 ms
25,916 KB
testcase_41 AC 223 ms
26,172 KB
testcase_42 AC 222 ms
25,976 KB
testcase_43 AC 229 ms
26,028 KB
testcase_44 AC 239 ms
26,036 KB
testcase_45 AC 222 ms
26,088 KB
testcase_46 AC 219 ms
26,144 KB
testcase_47 AC 219 ms
25,992 KB
testcase_48 AC 2 ms
4,696 KB
testcase_49 AC 2 ms
4,728 KB
testcase_50 AC 216 ms
26,012 KB
testcase_51 AC 216 ms
25,948 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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