結果

問題 No.118 門松列(2)
ユーザー %20%20
提出日時 2017-09-20 18:29:40
言語 Perl
(5.38.2)
結果
AC  
実行時間 42 ms / 5,000 ms
コード長 137 bytes
コンパイル時間 313 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 16,384 KB
最終ジャッジ日時 2024-04-25 21:15:58
合計ジャッジ時間 1,831 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
6,812 KB
testcase_01 AC 40 ms
16,256 KB
testcase_02 AC 39 ms
15,872 KB
testcase_03 AC 41 ms
16,128 KB
testcase_04 AC 40 ms
16,256 KB
testcase_05 AC 42 ms
16,384 KB
testcase_06 AC 29 ms
6,944 KB
testcase_07 AC 29 ms
6,944 KB
testcase_08 AC 30 ms
6,940 KB
testcase_09 AC 39 ms
15,488 KB
testcase_10 AC 23 ms
7,552 KB
testcase_11 AC 25 ms
8,192 KB
testcase_12 AC 22 ms
6,944 KB
testcase_13 AC 21 ms
6,940 KB
testcase_14 AC 39 ms
15,488 KB
testcase_15 AC 20 ms
6,944 KB
testcase_16 AC 31 ms
11,136 KB
testcase_17 AC 20 ms
6,940 KB
testcase_18 AC 24 ms
8,192 KB
testcase_19 AC 27 ms
10,240 KB
testcase_20 AC 29 ms
10,624 KB
testcase_21 AC 36 ms
13,696 KB
testcase_22 AC 23 ms
7,552 KB
testcase_23 AC 33 ms
12,928 KB
testcase_24 AC 24 ms
8,704 KB
testcase_25 AC 28 ms
9,984 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::A" used only once: possible typo at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #

<>;
++$_[$_]for@A=split$",<>;
for$i(1..100){
	for$j($i+1..100){
		for$k($j+1..100){
			$x+=$_[$i]*$_[$j]*$_[$k]
		}
	}
}
print$x%(1e9+7)
0