結果

問題 No.118 門松列(2)
ユーザー tailstails
提出日時 2019-08-27 15:09:29
言語 Perl
(5.38.2)
結果
AC  
実行時間 179 ms / 5,000 ms
コード長 92 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 6,692 KB
実行使用メモリ 25,472 KB
最終ジャッジ日時 2024-04-27 15:55:13
合計ジャッジ時間 3,637 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,168 KB
testcase_01 AC 179 ms
25,472 KB
testcase_02 AC 178 ms
24,704 KB
testcase_03 AC 172 ms
25,216 KB
testcase_04 AC 173 ms
25,344 KB
testcase_05 AC 173 ms
25,344 KB
testcase_06 AC 7 ms
6,944 KB
testcase_07 AC 7 ms
6,940 KB
testcase_08 AC 63 ms
6,944 KB
testcase_09 AC 162 ms
24,192 KB
testcase_10 AC 65 ms
9,728 KB
testcase_11 AC 77 ms
11,136 KB
testcase_12 AC 57 ms
8,704 KB
testcase_13 AC 51 ms
7,424 KB
testcase_14 AC 161 ms
23,936 KB
testcase_15 AC 43 ms
6,944 KB
testcase_16 AC 110 ms
15,872 KB
testcase_17 AC 52 ms
7,424 KB
testcase_18 AC 78 ms
11,008 KB
testcase_19 AC 101 ms
14,720 KB
testcase_20 AC 103 ms
15,104 KB
testcase_21 AC 141 ms
20,736 KB
testcase_22 AC 68 ms
9,984 KB
testcase_23 AC 126 ms
19,200 KB
testcase_24 AC 77 ms
11,776 KB
testcase_25 AC 93 ms
14,080 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