結果

問題 No.3 ビットすごろく
ユーザー なおなお
提出日時 2015-02-19 03:09:41
言語 Perl
(5.38.2)
結果
AC  
実行時間 20 ms / 5,000 ms
コード長 143 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 5,208 KB
最終ジャッジ日時 2023-09-13 23:02:43
合計ジャッジ時間 1,676 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,720 KB
testcase_01 AC 2 ms
4,548 KB
testcase_02 AC 3 ms
4,668 KB
testcase_03 AC 6 ms
4,656 KB
testcase_04 AC 3 ms
4,768 KB
testcase_05 AC 11 ms
4,964 KB
testcase_06 AC 7 ms
4,732 KB
testcase_07 AC 5 ms
4,932 KB
testcase_08 AC 10 ms
4,872 KB
testcase_09 AC 14 ms
4,992 KB
testcase_10 AC 17 ms
5,124 KB
testcase_11 AC 13 ms
5,048 KB
testcase_12 AC 11 ms
5,000 KB
testcase_13 AC 6 ms
4,732 KB
testcase_14 AC 16 ms
5,172 KB
testcase_15 AC 20 ms
5,004 KB
testcase_16 AC 18 ms
5,052 KB
testcase_17 AC 19 ms
5,060 KB
testcase_18 AC 5 ms
4,756 KB
testcase_19 AC 19 ms
5,208 KB
testcase_20 AC 4 ms
4,784 KB
testcase_21 AC 2 ms
4,556 KB
testcase_22 AC 17 ms
5,044 KB
testcase_23 AC 20 ms
5,000 KB
testcase_24 AC 20 ms
5,132 KB
testcase_25 AC 20 ms
5,096 KB
testcase_26 AC 2 ms
4,872 KB
testcase_27 AC 6 ms
4,712 KB
testcase_28 AC 18 ms
5,164 KB
testcase_29 AC 13 ms
4,968 KB
testcase_30 AC 3 ms
4,752 KB
testcase_31 AC 3 ms
4,780 KB
testcase_32 AC 12 ms
4,936 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

@a=(0,@b=1,(-1)x~-<>);while(@b){$a[$_]<0|$a[$_]>($c=$a[$i]+1)and$a[$_]=$c,push@b,$_ for$i+($b=map/1/g,sprintf'%b',$i=shift@b),$i-$b}print$a[-1]
0