結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
7,680 KB
testcase_01 AC 183 ms
33,920 KB
testcase_02 AC 168 ms
32,896 KB
testcase_03 AC 171 ms
33,408 KB
testcase_04 AC 175 ms
33,920 KB
testcase_05 AC 169 ms
33,664 KB
testcase_06 AC 37 ms
6,940 KB
testcase_07 AC 37 ms
6,944 KB
testcase_08 AC 37 ms
6,944 KB
testcase_09 AC 164 ms
32,128 KB
testcase_10 AC 54 ms
11,392 KB
testcase_11 AC 64 ms
13,312 KB
testcase_12 AC 46 ms
9,856 KB
testcase_13 AC 37 ms
8,192 KB
testcase_14 AC 162 ms
31,616 KB
testcase_15 AC 29 ms
6,940 KB
testcase_16 AC 103 ms
20,352 KB
testcase_17 AC 37 ms
7,936 KB
testcase_18 AC 65 ms
13,440 KB
testcase_19 AC 90 ms
18,304 KB
testcase_20 AC 96 ms
19,200 KB
testcase_21 AC 137 ms
27,264 KB
testcase_22 AC 56 ms
11,648 KB
testcase_23 AC 128 ms
25,088 KB
testcase_24 AC 69 ms
14,208 KB
testcase_25 AC 88 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){
		for$k($j+1..100){
			($x+=$_[$i]*$_[$j]*$_[$k])%=1e9+7
		}
	}
}
print$x
0