結果

問題 No.469 区間加算と一致検索の問題
ユーザー %20%20
提出日時 2017-02-17 23:00:53
言語 Perl
(5.38.2)
結果
AC  
実行時間 245 ms / 5,000 ms
コード長 89 bytes
コンパイル時間 216 ms
コンパイル使用メモリ 5,296 KB
実行使用メモリ 32,344 KB
最終ジャッジ日時 2023-08-23 13:38:07
合計ジャッジ時間 7,640 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,416 KB
testcase_01 AC 2 ms
4,472 KB
testcase_02 AC 4 ms
5,184 KB
testcase_03 AC 11 ms
5,336 KB
testcase_04 AC 13 ms
5,460 KB
testcase_05 AC 15 ms
5,684 KB
testcase_06 AC 17 ms
5,796 KB
testcase_07 AC 17 ms
5,880 KB
testcase_08 AC 19 ms
5,776 KB
testcase_09 AC 9 ms
5,124 KB
testcase_10 AC 17 ms
4,884 KB
testcase_11 AC 7 ms
4,908 KB
testcase_12 AC 20 ms
6,176 KB
testcase_13 AC 13 ms
5,432 KB
testcase_14 AC 5 ms
4,764 KB
testcase_15 AC 8 ms
5,072 KB
testcase_16 AC 18 ms
5,796 KB
testcase_17 AC 16 ms
5,664 KB
testcase_18 AC 16 ms
5,856 KB
testcase_19 AC 5 ms
4,860 KB
testcase_20 AC 20 ms
6,264 KB
testcase_21 AC 7 ms
4,828 KB
testcase_22 AC 3 ms
4,544 KB
testcase_23 AC 100 ms
12,968 KB
testcase_24 AC 101 ms
12,916 KB
testcase_25 AC 99 ms
12,796 KB
testcase_26 AC 100 ms
13,012 KB
testcase_27 AC 100 ms
12,908 KB
testcase_28 AC 101 ms
12,812 KB
testcase_29 AC 101 ms
12,880 KB
testcase_30 AC 101 ms
12,800 KB
testcase_31 AC 100 ms
13,004 KB
testcase_32 AC 100 ms
12,908 KB
testcase_33 AC 245 ms
32,184 KB
testcase_34 AC 244 ms
32,252 KB
testcase_35 AC 244 ms
32,320 KB
testcase_36 AC 244 ms
32,224 KB
testcase_37 AC 244 ms
32,344 KB
testcase_38 AC 226 ms
25,920 KB
testcase_39 AC 228 ms
26,152 KB
testcase_40 AC 227 ms
25,956 KB
testcase_41 AC 228 ms
26,088 KB
testcase_42 AC 226 ms
25,924 KB
testcase_43 AC 228 ms
25,952 KB
testcase_44 AC 234 ms
25,856 KB
testcase_45 AC 231 ms
26,036 KB
testcase_46 AC 227 ms
25,840 KB
testcase_47 AC 229 ms
25,932 KB
testcase_48 AC 3 ms
4,532 KB
testcase_49 AC 2 ms
4,452 KB
testcase_50 AC 229 ms
25,888 KB
testcase_51 AC 229 ms
25,960 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