結果
| 問題 | No.118 門松列(2) |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2016-01-17 15:28:27 |
| 言語 | Perl (5.42.1) |
| 結果 |
AC
|
| 実行時間 | 98 ms / 5,000 ms |
| コード長 | 93 bytes |
| 記録 | |
| コンパイル時間 | 183 ms |
| コンパイル使用メモリ | 6,656 KB |
| 実行使用メモリ | 25,600 KB |
| 最終ジャッジ日時 | 2026-05-29 14:52:11 |
| 合計ジャッジ時間 | 3,229 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 26 |
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 1. Main.pl syntax OK
ソースコード
<>;++$a[$_]for glob<>;for$a(@a){map$r+=$_*$a*$a[$'],@a[0..$'-//]for 0..++$i-2}print$r%(1e9+7)
tails