結果
| 問題 |
No.439 チワワのなる木
|
| ユーザー |
tails
|
| 提出日時 | 2017-01-31 20:25:37 |
| 言語 | Perl (5.40.0) |
| 結果 |
AC
|
| 実行時間 | 1,047 ms / 5,000 ms |
| コード長 | 207 bytes |
| コンパイル時間 | 155 ms |
| コンパイル使用メモリ | 6,820 KB |
| 実行使用メモリ | 238,720 KB |
| 最終ジャッジ日時 | 2024-12-24 01:04:09 |
| 合計ジャッジ時間 | 7,634 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 28 |
コンパイルメッセージ
Unquoted string "w" may clash with future reserved word at Main.pl line 1. Name "main::c" used only once: possible typo at Main.pl line 1. Name "main::w" used only once: possible typo at Main.pl line 1. Main.pl syntax OK
ソースコード
sub d{my($o,$p,$x,$y)=@_;my$z=$s[$o-1]=~w;$_-$p&&(d($_,$o),$\+=$z*$u*($w-$v-1),$x+=$u,$y+=$v)for@$o;$\+=$z*($c-($u=$x+!$z))*~-($v=$y+$z)}<>;$$_++for@s=<>=~/./g;/ /,push@{$`},$'+!push@{$'+0},$`for<>;d 1;print
tails