T1可以用一个数组来存0,1,模拟二进制,*2 就是右移1, /2 就是左移位1, *2+1 就是先右移位然后低位+1, 具体实现代码 : https://tans.fun/archives/jing-dong-bi-shi
3 1
牛客网
牛客企业服务