結果
| 問題 | No.118 門松列(2) |
| コンテスト | |
| ユーザー |
%20
|
| 提出日時 | 2017-09-20 18:27:11 |
| 言語 | Perl (5.44.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 90 ms / 5,000 ms |
| + 448µs | |
| コード長 | 143 bytes |
| 記録 | |
| コンパイル時間 | 7 ms |
| コンパイル使用メモリ | 7,976 KB |
| 実行使用メモリ | 34,048 KB |
| 最終ジャッジ日時 | 2026-09-21 05:26:21 |
| 合計ジャッジ時間 | 2,919 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 26 |
コンパイルメッセージ
Name "main::A" used only once: possible typo at Main.pl line 2. Main.pl syntax OK
ソースコード
<>;
++$_[$_]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
%20