結果

問題 No.763 Noelちゃんと木遊び
ユーザー %20%20
提出日時 2018-12-11 04:18:50
言語 Perl
(5.38.2)
結果
AC  
実行時間 661 ms / 2,000 ms
コード長 113 bytes
コンパイル時間 222 ms
コンパイル使用メモリ 5,448 KB
実行使用メモリ 200,244 KB
最終ジャッジ日時 2023-10-24 22:27:44
合計ジャッジ時間 9,868 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 661 ms
200,244 KB
testcase_01 AC 184 ms
30,160 KB
testcase_02 AC 467 ms
62,324 KB
testcase_03 AC 305 ms
44,948 KB
testcase_04 AC 212 ms
33,364 KB
testcase_05 AC 293 ms
43,748 KB
testcase_06 AC 583 ms
75,944 KB
testcase_07 AC 559 ms
73,564 KB
testcase_08 AC 320 ms
46,712 KB
testcase_09 AC 205 ms
32,484 KB
testcase_10 AC 79 ms
16,484 KB
testcase_11 AC 591 ms
77,288 KB
testcase_12 AC 515 ms
67,624 KB
testcase_13 AC 494 ms
66,596 KB
testcase_14 AC 438 ms
60,256 KB
testcase_15 AC 301 ms
44,368 KB
testcase_16 AC 46 ms
12,340 KB
testcase_17 AC 303 ms
44,712 KB
testcase_18 AC 578 ms
76,368 KB
testcase_19 AC 514 ms
68,264 KB
testcase_20 AC 510 ms
68,468 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

sub f{/ /,push@{$`},$'+!push@{$'+0},$`for<>;my($a,$j,$p)=@_;$a&=$_-$p?f(1,$_,$j):1for@$j;$\+=$a;!$a}f!!<>,1;print
0