結果

問題 No.469 区間加算と一致検索の問題
ユーザー tailstails
提出日時 2016-12-19 01:57:18
言語 Perl
(5.38.2)
結果
AC  
実行時間 286 ms / 5,000 ms
コード長 119 bytes
コンパイル時間 238 ms
コンパイル使用メモリ 5,072 KB
実行使用メモリ 38,964 KB
最終ジャッジ日時 2023-08-23 13:21:45
合計ジャッジ時間 8,401 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,600 KB
testcase_01 AC 2 ms
4,520 KB
testcase_02 AC 3 ms
5,260 KB
testcase_03 AC 12 ms
5,316 KB
testcase_04 AC 14 ms
5,336 KB
testcase_05 AC 16 ms
5,500 KB
testcase_06 AC 18 ms
5,792 KB
testcase_07 AC 18 ms
5,900 KB
testcase_08 AC 19 ms
5,980 KB
testcase_09 AC 9 ms
5,048 KB
testcase_10 AC 18 ms
4,972 KB
testcase_11 AC 7 ms
4,932 KB
testcase_12 AC 22 ms
6,260 KB
testcase_13 AC 14 ms
5,424 KB
testcase_14 AC 6 ms
4,888 KB
testcase_15 AC 9 ms
5,108 KB
testcase_16 AC 19 ms
5,844 KB
testcase_17 AC 17 ms
5,728 KB
testcase_18 AC 18 ms
5,672 KB
testcase_19 AC 5 ms
4,848 KB
testcase_20 AC 22 ms
6,184 KB
testcase_21 AC 6 ms
4,956 KB
testcase_22 AC 3 ms
4,500 KB
testcase_23 AC 112 ms
13,608 KB
testcase_24 AC 113 ms
13,496 KB
testcase_25 AC 111 ms
13,404 KB
testcase_26 AC 112 ms
13,572 KB
testcase_27 AC 112 ms
13,568 KB
testcase_28 AC 111 ms
13,436 KB
testcase_29 AC 113 ms
13,532 KB
testcase_30 AC 113 ms
13,556 KB
testcase_31 AC 111 ms
13,532 KB
testcase_32 AC 109 ms
13,416 KB
testcase_33 AC 280 ms
38,964 KB
testcase_34 AC 283 ms
37,512 KB
testcase_35 AC 279 ms
38,572 KB
testcase_36 AC 281 ms
37,468 KB
testcase_37 AC 286 ms
38,792 KB
testcase_38 AC 266 ms
27,444 KB
testcase_39 AC 264 ms
28,548 KB
testcase_40 AC 263 ms
28,056 KB
testcase_41 AC 264 ms
27,780 KB
testcase_42 AC 270 ms
28,676 KB
testcase_43 AC 257 ms
27,668 KB
testcase_44 AC 259 ms
27,616 KB
testcase_45 AC 263 ms
28,176 KB
testcase_46 AC 256 ms
27,744 KB
testcase_47 AC 261 ms
28,300 KB
testcase_48 AC 2 ms
4,480 KB
testcase_49 AC 2 ms
4,412 KB
testcase_50 AC 262 ms
28,216 KB
testcase_51 AC 265 ms
28,880 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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