9

怎么凭空生成随机数?

 3 years ago
source link: https://www.v2ex.com/t/801532
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

怎么凭空生成随机数?

  hxd · 15 分钟前 · 145 次点击

不依凭任何工具,只在脑海中生成随机数,不需要高精度,比如 0-9 随机即可。
用例:
- 考场上不会做的题随机选
- 中午随机选某家店吃饭
- 散步、跑步时,随机选一条路前行
- 决定不了的礼物,随机选一样
etc

能做到吗?
如果再加上纸和笔呢?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK