@[tymRocket](/user/559847) 自己可推
$2^n-1=d,n=\log_2(d+1)$
by I_AK_CTSC @ 2024-04-27 09:55:26
@[tymRocket](/user/559847) 距离即为跟到节点距离
by I_AK_CTSC @ 2024-04-27 09:56:00
$cu\; ball$
by danlao @ 2024-04-27 09:58:30
<https://atcoder.jp/contests/abc220/tasks/abc220_e>
by yyy_2013 @ 2024-04-27 11:05:05