比特计数 [英] counting of bits

查看:82
本文介绍了比特计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



给出两个整数A& B.确定将
A转换为B.how要编写函数所需的位数BitSwapReqd(int A,int B);

解决方案

< ra ****** @ gmail.comwrote:


给出两个整数A& B.确定将
A转换为B.how要写入函数的位数BitSwapReqd(int A,int B);



独家或运营商可以帮助您。


在文章< 5b ****** *******@mid.individual.net>,

" osmium" < r1 ******** @ comcast.netwrote:


< ra ****** @ gmail.comwrote:


给出两个整数A& B.确定将
A转换为B.how要写入函数的位数BitSwapReqd(int A,int B);



独家或运营商可以帮助您。



为什么我觉得有人做了家庭作业,并且没有在课堂上注意力?$ br $ b >

(CF他的其他帖子 - 功能除以3)


-

Don Bruder - < a href =mailto:da **** @ sonic.net> da **** @ sonic.net - 如果你的来自:地址不在我的白名单上,

或邮件的主题不包含确切的文字PopperAndShadow

某处,发送给此的任何邮件地址将进入垃圾,没有我的

,知道它到了。对不起...< http://www.sonic.net/~dakiddfor more info


5月26日晚上8:54,Don Bruder< dak。 .. @ sonic.netwrote:


文章< 5bqulcF2uava ... @ mid.individual.net>,


锇 < r124c4u ... @ comcast.netwrote:


< rajm2 ... @ gmail.comwrote:


给出两个整数A& B.确定将
A转换为B.how要写入函数的位数BitSwapReqd(int A,int B);


独家或运营商可以帮助您。



为什么我觉得有人做了家庭作业,并且没有在课堂上注意力?$ br $ b >

(CF他的其他帖子 - 除以3的功能)


-

Don Bruder - dak ... @ sonic.net - 如果你的来自:地址不在我的白名单上,

或邮件的主题不包含确切的文字PopperAndShadow

某处,发送给此的任何邮件地址将进入垃圾,没有我的

,知道它到了。对不起...< http://www.sonic.net/~dakiddfor更多信息



怎么做请帮助我



Given two integers A & B. Determine how many bits required to convert
A to B.how to write a function int BitSwapReqd(int A, int B);

解决方案

<ra******@gmail.comwrote:

Given two integers A & B. Determine how many bits required to convert
A to B.how to write a function int BitSwapReqd(int A, int B);

The exclusive or operator may help you.


In article <5b*************@mid.individual.net>,
"osmium" <r1********@comcast.netwrote:

<ra******@gmail.comwrote:

Given two integers A & B. Determine how many bits required to convert
A to B.how to write a function int BitSwapReqd(int A, int B);


The exclusive or operator may help you.

Why do I get the feeling someone has a homework assignment, and hasn''t
been paying attention in class?

(CF his other post - "function to divide by three")

--
Don Bruder - da****@sonic.net - If your "From:" address isn''t on my whitelist,
or the subject of the message doesn''t contain the exact text "PopperAndShadow"
somewhere, any message sent to this address will go in the garbage without my
ever knowing it arrived. Sorry... <http://www.sonic.net/~dakiddfor more info


On May 26, 8:54 pm, Don Bruder <dak...@sonic.netwrote:

In article <5bqulcF2uava...@mid.individual.net>,

"osmium" <r124c4u...@comcast.netwrote:

<rajm2...@gmail.comwrote:

Given two integers A & B. Determine how many bits required to convert
A to B.how to write a function int BitSwapReqd(int A, int B);

The exclusive or operator may help you.


Why do I get the feeling someone has a homework assignment, and hasn''t
been paying attention in class?

(CF his other post - "function to divide by three")

--
Don Bruder - dak...@sonic.net - If your "From:" address isn''t on my whitelist,
or the subject of the message doesn''t contain the exact text "PopperAndShadow"
somewhere, any message sent to this address will go in the garbage without my
ever knowing it arrived. Sorry... <http://www.sonic.net/~dakiddfor more info

how to do this pls help me


这篇关于比特计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆