TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
How to encode two integers into a single integer
1 点
作者
helloiloveyou
将近 5 年前
1 comment
billsimms
将近 5 年前
Alternate the digits, or the bits, of the two numbers and prepend 0's onto the shorter number if needed. Accomplishes this in 2n digits or bits instead of 2^n.