結果

問題 No.763 Noelちゃんと木遊び
ユーザー tailstails
提出日時 2021-05-13 09:50:29
言語 Perl
(5.38.0)
結果
AC  
実行時間 481 ms / 2,000 ms
コード長 99 bytes
コンパイル時間 127 ms
コンパイル使用メモリ 5,540 KB
実行使用メモリ 144,820 KB
最終ジャッジ日時 2023-10-25 03:51:47
合計ジャッジ時間 8,493 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 478 ms
144,820 KB
testcase_01 AC 152 ms
30,284 KB
testcase_02 AC 383 ms
62,448 KB
testcase_03 AC 257 ms
45,072 KB
testcase_04 AC 175 ms
33,488 KB
testcase_05 AC 254 ms
43,872 KB
testcase_06 AC 476 ms
76,064 KB
testcase_07 AC 453 ms
73,688 KB
testcase_08 AC 271 ms
46,840 KB
testcase_09 AC 175 ms
32,608 KB
testcase_10 AC 65 ms
16,608 KB
testcase_11 AC 481 ms
77,408 KB
testcase_12 AC 411 ms
67,748 KB
testcase_13 AC 408 ms
66,720 KB
testcase_14 AC 365 ms
60,380 KB
testcase_15 AC 248 ms
44,492 KB
testcase_16 AC 39 ms
12,464 KB
testcase_17 AC 248 ms
44,836 KB
testcase_18 AC 476 ms
76,496 KB
testcase_19 AC 424 ms
68,384 KB
testcase_20 AC 423 ms
68,592 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

sub f{$r+=$a=!grep$_-$_[1]&&f($_,$_[0]),@$_;$a}/ /&&push@{$`},$'+!push@{$'+0},$`for<>;f$_=1;print$r
0