結果

問題 No.152 貯金箱の消失
ユーザー testestesttestestest
提出日時 2017-01-14 11:47:00
言語 Perl
(5.38.2)
結果
AC  
実行時間 155 ms / 5,000 ms
コード長 81 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 5,304 KB
実行使用メモリ 5,536 KB
最終ジャッジ日時 2023-08-25 03:14:00
合計ジャッジ時間 1,499 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,568 KB
testcase_01 AC 3 ms
4,476 KB
testcase_02 AC 2 ms
4,528 KB
testcase_03 AC 3 ms
4,548 KB
testcase_04 AC 4 ms
4,540 KB
testcase_05 AC 4 ms
4,624 KB
testcase_06 AC 6 ms
4,664 KB
testcase_07 AC 28 ms
4,964 KB
testcase_08 AC 155 ms
5,536 KB
testcase_09 AC 154 ms
5,536 KB
testcase_10 AC 119 ms
5,388 KB
testcase_11 AC 69 ms
5,076 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

sub f{my($a,$b)=@_;8*$a*($a+=$b)>$L?0:f($a,$a-$b)+f($a,$b)+$a%2}$L=<>;print f 2,1
0