Comments (6)
嗯嗯。。你是简书上的那个人么?哈哈。。简书上也有一个人问了一个和你一样的问题。我一会改一下描述。其实应该说切牌只能上下切,不能乱切。因为如果上下切牌,由于循环序列,上下切牌都是一样的,并不影响全排列。我这样说,应该更清楚吧。
from halfrost-field.
关于牌的顺序其实是不必知道的。不必知道整个32张牌的顺序,(当然知道会更好),因为每5个都是可以推算的。只要能保证牌是一个德布鲁因序列就可以,这样就能保证是一个全排列。
from halfrost-field.
@wellcheng 我更新了一下文章,你看看 f3b7780 这个commit 哈~
from halfrost-field.
还有一个疑问,为什么只需要知道谁拿了黑色的牌,就能确定其在序列中的位置?
我的理解是,如果知道某个人拿了黑色牌,我只能确定他所代表的 5 bit 序列为 「0xxxx」,按理说,我只有知道他具体是黑色的哪张牌,我才能知道他的全排列,比如 01001 ,然后根据顺序借此推算出前后。
但是如果知道了具体的值,那么别人就认为你是强行记住了所有的顺序,无法体现魔术了。
from halfrost-field.
嗯嗯。我懂你说的意思。还是需要知道初始的32张牌的顺序的。开始让观众洗牌,默认的就给他们心里暗示,这些牌是都洗过的,顺序变过了。
from halfrost-field.
感谢你的补充,我更新到文章里面去了。具体见 6f6c3e8 这个commit,感谢感谢~
from halfrost-field.
Related Issues (20)
- 深入解析 Go 中 Slice 底层实现 中代码bug HOT 1
- HTTPS-begin中Alter和Change Cipher Spec Protocol消息在TLS1.2应该被加密了吧 HOT 2
- 细节错误 HOT 1
- 注释缺失 HOT 1
- 请教一个关于cell id的问题 HOT 1
- 想问一下您是用的什么软件画的图喔, HOT 3
- 细节错误 HOT 1
- how is used afalg function on openssl? HOT 3
- 请问您博客的框架是怎么写的? HOT 4
- 这是一个神奇的网站,各种小视频各种姿势
- Ghost博客主题 HOT 3
- 可以转载吗 HOT 1
- 細節錯誤 HOT 1
- 感觉是用机器翻译的 HOT 6
- Go语言中示例图用什么软件画的? HOT 2
- 谁知道content-length 怎么解析的? HOT 3
- 有没有考虑过做成一个 fastpages HOT 3
- 请问你的博客 halfrost.com 是通过这个项目搭建的吗?还有用到什么开源项目吗 HOT 9
- Remove colon(:) from filename HOT 5
- 错别字 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from halfrost-field.