結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
7,680 KB
testcase_01 AC 184 ms
33,920 KB
testcase_02 AC 160 ms
32,896 KB
testcase_03 AC 169 ms
33,408 KB
testcase_04 AC 163 ms
33,920 KB
testcase_05 AC 169 ms
33,792 KB
testcase_06 AC 33 ms
6,940 KB
testcase_07 AC 33 ms
6,944 KB
testcase_08 AC 32 ms
6,940 KB
testcase_09 AC 160 ms
32,128 KB
testcase_10 AC 50 ms
11,392 KB
testcase_11 AC 59 ms
13,312 KB
testcase_12 AC 40 ms
9,856 KB
testcase_13 AC 32 ms
8,192 KB
testcase_14 AC 158 ms
31,616 KB
testcase_15 AC 25 ms
6,940 KB
testcase_16 AC 99 ms
20,352 KB
testcase_17 AC 34 ms
7,936 KB
testcase_18 AC 60 ms
13,440 KB
testcase_19 AC 89 ms
18,432 KB
testcase_20 AC 92 ms
19,072 KB
testcase_21 AC 132 ms
27,136 KB
testcase_22 AC 53 ms
11,648 KB
testcase_23 AC 115 ms
25,088 KB
testcase_24 AC 66 ms
14,208 KB
testcase_25 AC 78 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]
		}
	}
}
print$x%(1e9+7)
0