Raspberry Pi config
. To show log.
. To show log.
ADT Linked List
以下作者为知乎力扣 位操作求绝对值 整数的绝对值是其本身,负数的绝对值正好可以对其进行取反加一求得,即我们首先判断其符号位(整数右移 31 位得到 0,负数右移 31 位得到 -1,即 0xffffffff),然后根据符号进行相应的操作 上面的操作可以进行优化,可以将 i == 0 的条件判断语句去掉。我们都知道符号位 i 只有两种情况,即 i = 0 为正,i = -1 为负。对于任何数与 0 异或都会保持不变,与 -1 即 0xffffffff 进行异或就相当于对此数进行取反,因此可以将上面三目元算符转换为((a^i)-i),即整数时…
CPP class Notes& 面向对象体验
I spent almost one week learning some theorems about Docker. And I lost three nights of sleep. Of course, I learned how to install Docker, pull or export images, write…
This time we will solves the last phase.
Phase_5 Previous: Phase_4 See the code first. We find it is related to these three functions: string_length, explode_bomb, and strings_not_equal. Here is the string length. We rewrite it into C…
无意翻出来在卧龙学校写的两首打油诗,挂在这里。至少现在看看这两首诗,还是挺佩服当时的自己的。
着急写出来,音乐效果还算凑合,有展示视频