結果
問題 |
No.8031 (物理学)長距離相互作用
|
ユーザー |
![]() |
提出日時 | 2018-02-28 23:19:41 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 10 ms / 10,000 ms |
コード長 | 189 bytes |
コンパイル時間 | 816 ms |
コンパイル使用メモリ | 5,888 KB |
実行使用メモリ | 6,016 KB |
最終ジャッジ日時 | 2024-12-25 21:11:04 |
合計ジャッジ時間 | 1,577 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
コンパイルメッセージ
Name "main::n" used only once: possible typo at Main.pl line 2. Name "main::p" used only once: possible typo at Main.pl line 2. Name "main::k" used only once: possible typo at Main.pl line 2. Name "main::m" used only once: possible typo at Main.pl line 2. Name "main::o" used only once: possible typo at Main.pl line 2. Name "main::j" used only once: possible typo at Main.pl line 2. Name "main::i" used only once: possible typo at Main.pl line 2. Name "main::l" used only once: possible typo at Main.pl line 2. Main.pl syntax OK
ソースコード
($a,$b,$c,$d,$e,$f,$g,$h)=glob<>; ($i,$j,$k,$l,$m,$n,$o,$p)=glob<>; $A=-2.32454; $H=$A+2.03536413369771; $B=0; $D=$B-0.486101763751084; print +$A*$a +$B*($b+$c+$e) +$D*($d+$f+$g) +$H*$h