結果
問題 | No.872 All Tree Path |
ユーザー |
![]() |
提出日時 | 2019-08-31 00:27:24 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 1,943 ms / 3,000 ms |
コード長 | 175 bytes |
コンパイル時間 | 181 ms |
コンパイル使用メモリ | 5,248 KB |
実行使用メモリ | 462,976 KB |
最終ジャッジ日時 | 2024-11-22 06:06:10 |
合計ジャッジ時間 | 16,674 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
コンパイルメッセージ
Name "main::c" used only once: possible typo at Main.pl line 9. Main.pl syntax OK
ソースコード
use integer;sub f{map{/ (.*) /;push@{$`},"$1 $'";push@$1,"$` $'"}<>;my$r=1;$r+=$t=!$c[$_]++&&&f,$%+=$t*($N-$t)*/ /*$'*2for@{$_+0};$r}f for$N=<>;print$%