|
[原创]最近微博里很热的1000瓶子10小白鼠找毒药问题
这种算不上是另一种方法 只不过换了个形式罢了 而且你这样改动也不容易理解 不容易确定是那瓶 没这个必要了 思路不一样的才算是不同的方法啊 你这个只是换了换瓶子的编号········ |
|
|
|
|
|
[求助]U盘格式化NTFS会影响寿命?
已格式化为exFAT |
|
|
|
[原创]最近微博里很热的1000瓶子10小白鼠找毒药问题
我 同学有人拿 PHP 实现了 用户输入瓶子个数 它就能输出 需要的老鼠个数 以及每个老鼠 要喝的任务 最后你提交一种老鼠死亡的结果 就可以判定哪瓶是有毒的 |
|
[原创]最近微博里很热的1000瓶子10小白鼠找毒药问题
直观来说是这样,不过我只不过是先安装自己的做这道题目的时候的思路来写罢了 就好像老师教学生一样,大部分老师总是教给学生这个问题这样可以解决 但是并没有告诉我们为什么这样能解决 为什么第一个做出这道题目的人是怎么想出来的 总不可能一下子就知道这样就能做出来来了 总得有个思路过程吧是吧 所以授人以鱼不如授人以渔 让别人看到你的思路过程,才能有进步 |
|
|
|
[原创]最近微博里很热的1000瓶子10小白鼠找毒药问题
使用的是二进制 二进制每一位就两种可能 0 或者 1 虽然说有毒的瓶子的编号知道之前是有1000中可能的 但是二进制的表示方式就两种可能要么正常的1 就代表 1 要么反向的 0 代表 1 看起来是十位但是十位肯定使用的是同样的表示方式了 所以冗余并不能被利用 也就无法扩展其他的表示方式 比如 你想使用冗余的输出可能 假设你想使用 是 1111111111 =1023 这个结果 那么 按照之前我说的 1111111111 要么表示 1111111111 要么表示0000000000 因为在你结果的十位二进制数中0代表 1 还是代表0 必须是固定的 不能你的十位二进制数中 第一位代表0 第二位又代表1去了 除非你的瓶子数低于1024的一半 那你就能使用相反的表示方式了 |
|
[原创]最近微博里很热的1000瓶子10小白鼠找毒药问题
这样说也未尝不可 反正都是差不多 因为每个开关的输入也就是只有两种 不过解决这个问题想到数学上的(应该是计算机里面的)二进制就行了 一般来说比较不太可能会想到那里,除非是跟逻辑电路打交道比较多的硬件人员 |
|
[原创]最近微博里很热的1000瓶子10小白鼠找毒药问题
看来你没明白啊 就是根据最后小白鼠死亡的结果来判定的 不同的死亡结果对应不同的瓶子编号 如果是六 那就是 110 就是前两个小白鼠都死了 如果三个都死了 说明是第七瓶 注意不是根据某个死了来确定的 而是根据十个小白鼠综合起来的死亡结果来判定的 每一个小白鼠负责判定对应的二进制位是零还是一 最后根据小白鼠生存结果来得到一个十位的二进制数 比如1111111111 那么就是说明编号为 1111111111=2的10次方减1=1023的那瓶 对应到上面的8瓶三只老鼠的情况就是111 也就是有毒的是编号为7的那瓶 你找找肯定是三个里面都有的就是编号为7的那瓶 |
|
求解加密算法
不同的输入竟然能有相同的输出,那不是hash 算法吗?那就不可能是可逆的 既然不可逆也就不能算是加密解密了 理论上来说给定一个输出结果 你只能找到一个或者几个可能输入 根本无法确定到底输入的明文是什么 |
|
[求助]U盘格式化NTFS会影响寿命?
坛主都来了 有时间格式化成exFAT 看看效果怎么样 不过我还有个问题就是格式化成NTFS之后拷贝东西速度相当的快啊 厂家介绍里面写写入速度4MB/s 读取14 MB/s 但是格式化成NTFS后 拷贝的一瞬间曾经达到过100MB/s 当然很快就下降了但是后面也到20MB/s了 反正我测试几次都大于4MB/s 是不是Windows 7 显示的不对? |
|
[招聘]北京启明星辰招聘网络安全工程师
会使用vc 有驱动开发基础,使用过 IDA Pro 进行简单逆向 比较熟悉OD 密码学 跟信息安全数学基础这两门专业课学的也还不错 就是不知道跟实际里面的应用差多少 了解基本忘了攻防知识,了解无线攻击的技术 |
|
[求助]U盘格式化NTFS会影响寿命?
但是有人说 虽然一直写日志但是并没多大的影响·········· |
|
[求助]U盘格式化NTFS会影响寿命?
因为FAT的格式对u盘的名字支持太短了,就只能六个中文字符 太坑爹了········ |
|
[原创]制作可保存配置的U盘版BackTrack 5
论坛里面有没有玩BackTrack的,刚接触这个东西 有很多问题,请教 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值