結果

問題 No.118 門松列(2)
ユーザー tailstails
提出日時 2019-08-27 15:09:29
言語 Perl
(5.38.2)
結果
AC  
実行時間 198 ms / 5,000 ms
コード長 92 bytes
コンパイル時間 926 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 24,760 KB
最終ジャッジ日時 2023-08-09 21:29:52
合計ジャッジ時間 4,838 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
6,516 KB
testcase_01 AC 198 ms
24,760 KB
testcase_02 AC 191 ms
23,836 KB
testcase_03 AC 191 ms
24,184 KB
testcase_04 AC 194 ms
24,436 KB
testcase_05 AC 196 ms
24,316 KB
testcase_06 AC 6 ms
5,216 KB
testcase_07 AC 6 ms
5,316 KB
testcase_08 AC 64 ms
5,384 KB
testcase_09 AC 189 ms
23,088 KB
testcase_10 AC 74 ms
8,700 KB
testcase_11 AC 84 ms
10,196 KB
testcase_12 AC 65 ms
7,912 KB
testcase_13 AC 56 ms
6,616 KB
testcase_14 AC 181 ms
23,072 KB
testcase_15 AC 47 ms
5,496 KB
testcase_16 AC 121 ms
15,084 KB
testcase_17 AC 54 ms
6,580 KB
testcase_18 AC 85 ms
10,252 KB
testcase_19 AC 111 ms
13,760 KB
testcase_20 AC 114 ms
14,288 KB
testcase_21 AC 158 ms
19,936 KB
testcase_22 AC 75 ms
8,952 KB
testcase_23 AC 146 ms
18,348 KB
testcase_24 AC 88 ms
10,628 KB
testcase_25 AC 107 ms
13,100 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

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