結果

問題 No.118 門松列(2)
ユーザー %20%20
提出日時 2017-09-20 18:27:11
言語 Perl
(5.38.2)
結果
AC  
実行時間 170 ms / 5,000 ms
コード長 143 bytes
コンパイル時間 224 ms
コンパイル使用メモリ 7,204 KB
実行使用メモリ 33,920 KB
最終ジャッジ日時 2024-04-25 21:15:18
合計ジャッジ時間 3,244 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
7,680 KB
testcase_01 AC 170 ms
33,920 KB
testcase_02 AC 161 ms
33,024 KB
testcase_03 AC 165 ms
33,408 KB
testcase_04 AC 169 ms
33,920 KB
testcase_05 AC 168 ms
33,792 KB
testcase_06 AC 28 ms
6,944 KB
testcase_07 AC 27 ms
6,940 KB
testcase_08 AC 28 ms
6,940 KB
testcase_09 AC 157 ms
32,128 KB
testcase_10 AC 48 ms
11,392 KB
testcase_11 AC 57 ms
13,312 KB
testcase_12 AC 40 ms
9,984 KB
testcase_13 AC 31 ms
8,192 KB
testcase_14 AC 153 ms
31,616 KB
testcase_15 AC 22 ms
6,940 KB
testcase_16 AC 95 ms
20,352 KB
testcase_17 AC 31 ms
7,936 KB
testcase_18 AC 59 ms
13,440 KB
testcase_19 AC 82 ms
18,304 KB
testcase_20 AC 89 ms
19,072 KB
testcase_21 AC 133 ms
27,264 KB
testcase_22 AC 50 ms
11,776 KB
testcase_23 AC 118 ms
24,960 KB
testcase_24 AC 63 ms
14,208 KB
testcase_25 AC 80 ms
17,664 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::A" used only once: possible typo at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #

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