結果
| 問題 | No.439 チワワのなる木 |
| ユーザー |
👑 tails
|
| 提出日時 | 2017-01-31 20:25:37 |
| 言語 | Perl (5.44.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 608 ms / 5,000 ms |
| + 734µs | |
| コード長 | 207 bytes |
| 記録 | |
| コンパイル時間 | 49 ms |
| コンパイル使用メモリ | 7,852 KB |
| 実行使用メモリ | 239,036 KB |
| 最終ジャッジ日時 | 2026-10-06 22:01:03 |
| 合計ジャッジ時間 | 6,227 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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