結果

問題 No.118 門松列(2)
ユーザー tailstails
提出日時 2015-02-15 07:14:01
言語 Perl
(5.38.2)
結果
AC  
実行時間 85 ms / 5,000 ms
コード長 94 bytes
コンパイル時間 64 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 22,144 KB
最終ジャッジ日時 2024-04-17 12:52:40
合計ジャッジ時間 2,307 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
6,528 KB
testcase_01 AC 78 ms
22,144 KB
testcase_02 AC 85 ms
21,376 KB
testcase_03 AC 78 ms
21,760 KB
testcase_04 AC 77 ms
22,144 KB
testcase_05 AC 83 ms
22,016 KB
testcase_06 AC 3 ms
5,376 KB
testcase_07 AC 3 ms
5,376 KB
testcase_08 AC 58 ms
5,376 KB
testcase_09 AC 82 ms
20,992 KB
testcase_10 AC 48 ms
8,704 KB
testcase_11 AC 50 ms
9,728 KB
testcase_12 AC 46 ms
7,808 KB
testcase_13 AC 42 ms
6,784 KB
testcase_14 AC 79 ms
20,608 KB
testcase_15 AC 37 ms
5,760 KB
testcase_16 AC 57 ms
14,080 KB
testcase_17 AC 41 ms
6,656 KB
testcase_18 AC 51 ms
9,856 KB
testcase_19 AC 57 ms
12,800 KB
testcase_20 AC 59 ms
13,312 KB
testcase_21 AC 72 ms
18,048 KB
testcase_22 AC 46 ms
8,832 KB
testcase_23 AC 66 ms
16,768 KB
testcase_24 AC 50 ms
10,368 KB
testcase_25 AC 56 ms
12,416 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>;$/=$";++$a[$_]for<>;for$a(@a){map$r+=$_*$a*$a[$'],@a[0..$'-//]for 0..++$i-2}print$r%(1e9+7)
0