一个狡猾的问题 [英] a fanny question

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

问题描述

嗨eyeryone

001101000000000000100000000000000是二进制system中的数字。我可以

i获得'1'的数字吗?

提前谢谢

hi eyeryone
001101000000000000100000000000000 is a number in binary system.how can
i get the number of ''1''s ?
thanks in advance

推荐答案

xinxin写道:
xinxin wrote:

hi eyeryone

001101000000000000100000000000000是二进制system中的数字。我可以获得
i的数字''1'吗?
hi eyeryone
001101000000000000100000000000000 is a number in binary system.how can
i get the number of ''1''s ?



简单:只计算它们。我算4.


再见,Jojo

Easy: just count them. I count 4.

Bye, Jojo


在22 abr,11:10,Joachim Schmitz < nospam.j ... @ schmitz-digital.de>

写道:
On 22 abr, 11:10, "Joachim Schmitz" <nospam.j...@schmitz-digital.de>
wrote:

xinxin写道:
xinxin wrote:

hi eyeryone

001101000000000000100000000000000是二进制system中的数字。我可以获得
i的数字''1'吗?
hi eyeryone
001101000000000000100000000000000 is a number in binary system.how can
i get the number of ''1''s ?



简单:只计算它们。我算4.


再见,Jojo


Easy: just count them. I count 4.

Bye, Jojo



您使用的是字符串吗?

也许"对于"可以帮到你。

Are you using a string?
Maybe "for" can help you.


On 4 ??22è?,????10ê±03·?, xinxin< jnzhouxin ... @ gmail..comwrote:
On 4??22è?, ????10ê±03·?, xinxin <jnzhouxin...@gmail..comwrote:

hi eyeryone

001101000000000000100000000000000是二进制system中的数字。我可以

i得到''1的数字是的?

提前感谢
hi eyeryone
001101000000000000100000000000000 is a number in binary system.how can
i get the number of ''1''s ?
thanks in advance



哦,我必须添加一些东西。这里有点''1'。它'不是一个字符串



a unsinged long type。这就是说我知道在二进制系统中显示多少''1'

a数字的时候它已经显示在二进制系统中。任何人

得到任何想法。

oh ,i must add something .there is little ''1''s .and it''s not a string
but
a unsinged long type. that''s to say i what to know how many ''1''s
a number in decimal system has when it showed in binary system.anyone
get any idea.


这篇关于一个狡猾的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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