- 博客(3)
- 收藏
- 关注
原创 int为什么最大值为2^31-1(2的31次方-1)
int 占用内存32位, 最高位是符号位, 因此 int的值为:2^31 + 2^30 +2^29+ ```+2^1 +2^0设x = 2^31 + 2^30 + 2^29 +• • •+ 2^1 + 2^0两边同时乘以2得:2x=2^32+ 2^31+ 2^30 + • • • + 2^2 + 2^1那么x:2x - x = (2^32+ 2^31+ 2^30 + • • • + 2^2 + 2^1) - (2^31 + 2^30 + 2^29 +• • •+ 2^1 + 2^
2021-12-31 10:43:13
2256
原创 pycharm debug 提示 Python Debugger Extension Available Cython extension speeds up Python debugging
提示如图点击install 之后然后我就去下载了build tools 然并卵, 依然报错. 然后去jetbrains 看了一下 You don’t need to do anything !!!我真的是R了, 行, jetbrains , 你狠. windows 或者 mac 下的同学如果看着碍眼. 设置里把这个通知关了吧...
2021-11-12 22:07:17
3027
3
原创 关闭centos命令模式的警告声音
关闭centos命令模式的警告声音vim /etc/inputrcset bell-style visible#bell-style的取值范围是:none, visible, audible,想把警告声去掉把/etc/inputrc 中的set bell-style 的值改为 visible,并将注释去掉,再reboot 或 shutdown -r now重启系统就OK啦。...
2019-12-02 17:45:45
290
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人