結果

問題 No.469 区間加算と一致検索の問題
ユーザー tailstails
提出日時 2016-12-19 02:12:40
言語 Perl
(5.38.2)
結果
AC  
実行時間 283 ms / 5,000 ms
コード長 113 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 37,592 KB
最終ジャッジ日時 2023-08-23 13:22:16
合計ジャッジ時間 8,488 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,704 KB
testcase_01 AC 2 ms
4,496 KB
testcase_02 AC 4 ms
5,324 KB
testcase_03 AC 12 ms
5,344 KB
testcase_04 AC 14 ms
5,584 KB
testcase_05 AC 15 ms
5,520 KB
testcase_06 AC 18 ms
5,828 KB
testcase_07 AC 19 ms
5,784 KB
testcase_08 AC 20 ms
5,912 KB
testcase_09 AC 10 ms
5,196 KB
testcase_10 AC 18 ms
4,888 KB
testcase_11 AC 8 ms
4,928 KB
testcase_12 AC 22 ms
6,160 KB
testcase_13 AC 14 ms
5,372 KB
testcase_14 AC 6 ms
4,856 KB
testcase_15 AC 9 ms
5,052 KB
testcase_16 AC 19 ms
5,992 KB
testcase_17 AC 17 ms
5,748 KB
testcase_18 AC 18 ms
5,796 KB
testcase_19 AC 5 ms
4,928 KB
testcase_20 AC 21 ms
6,136 KB
testcase_21 AC 7 ms
4,880 KB
testcase_22 AC 3 ms
4,744 KB
testcase_23 AC 113 ms
13,224 KB
testcase_24 AC 115 ms
13,280 KB
testcase_25 AC 116 ms
13,336 KB
testcase_26 AC 115 ms
13,268 KB
testcase_27 AC 113 ms
13,240 KB
testcase_28 AC 114 ms
13,212 KB
testcase_29 AC 114 ms
13,392 KB
testcase_30 AC 113 ms
13,236 KB
testcase_31 AC 113 ms
13,328 KB
testcase_32 AC 110 ms
13,340 KB
testcase_33 AC 278 ms
37,512 KB
testcase_34 AC 278 ms
37,592 KB
testcase_35 AC 283 ms
37,320 KB
testcase_36 AC 280 ms
37,400 KB
testcase_37 AC 281 ms
37,376 KB
testcase_38 AC 262 ms
27,476 KB
testcase_39 AC 262 ms
27,476 KB
testcase_40 AC 263 ms
27,372 KB
testcase_41 AC 260 ms
27,416 KB
testcase_42 AC 266 ms
27,424 KB
testcase_43 AC 259 ms
27,496 KB
testcase_44 AC 261 ms
27,436 KB
testcase_45 AC 261 ms
27,368 KB
testcase_46 AC 263 ms
27,292 KB
testcase_47 AC 260 ms
27,524 KB
testcase_48 AC 2 ms
4,584 KB
testcase_49 AC 3 ms
4,704 KB
testcase_50 AC 261 ms
27,564 KB
testcase_51 AC 265 ms
27,488 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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