結果

問題 No.3 ビットすごろく
ユーザー tailstails
提出日時 2019-07-24 18:54:50
言語 Perl
(5.38.2)
結果
AC  
実行時間 83 ms / 5,000 ms
コード長 108 bytes
コンパイル時間 222 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 65,392 KB
最終ジャッジ日時 2023-09-14 01:24:00
合計ジャッジ時間 2,688 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,564 KB
testcase_01 AC 3 ms
4,572 KB
testcase_02 AC 3 ms
4,560 KB
testcase_03 AC 15 ms
10,272 KB
testcase_04 AC 6 ms
5,556 KB
testcase_05 AC 36 ms
25,096 KB
testcase_06 AC 16 ms
11,268 KB
testcase_07 AC 10 ms
7,376 KB
testcase_08 AC 27 ms
18,588 KB
testcase_09 AC 49 ms
36,440 KB
testcase_10 AC 64 ms
47,756 KB
testcase_11 AC 46 ms
31,856 KB
testcase_12 AC 34 ms
24,032 KB
testcase_13 AC 13 ms
8,928 KB
testcase_14 AC 60 ms
45,468 KB
testcase_15 AC 78 ms
64,004 KB
testcase_16 AC 71 ms
56,960 KB
testcase_17 AC 78 ms
62,500 KB
testcase_18 AC 11 ms
7,924 KB
testcase_19 AC 83 ms
65,392 KB
testcase_20 AC 5 ms
5,292 KB
testcase_21 AC 2 ms
4,460 KB
testcase_22 AC 60 ms
46,288 KB
testcase_23 AC 81 ms
65,372 KB
testcase_24 AC 82 ms
65,348 KB
testcase_25 AC 79 ms
64,040 KB
testcase_26 AC 2 ms
4,528 KB
testcase_27 AC 13 ms
9,608 KB
testcase_28 AC 69 ms
54,956 KB
testcase_29 AC 44 ms
32,768 KB
testcase_30 AC 3 ms
4,684 KB
testcase_31 AC 3 ms
4,840 KB
testcase_32 AC 40 ms
29,136 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$n+=<>;@q=[1];($j,$v)=@$_,$j>$n|@$j||push@q,[$j+($b=grep$j&1<<$_,0..14),$#$j=++$v],[$j-$b,$v]for@q;print$#$n
0