V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  sherlockwhite  ›  全部回复第 19 页 / 共 83 页
回复总数  1642
1 ... 15  16  17  18  19  20  21  22  23  24 ... 83  
2023 年 9 月 6 日
回复了 ENIAC 创建的主题 程序员 使用 AND 和 OR 运算符实现的加密程序该如何解密?
```
const decode = cipher => {
let result = ''
for(let i = 0; i < cipher.length; i+=4) {
const a = codeTable.indexOf(cipher[i])
const b = codeTable.indexOf(cipher[i+1])
const c = codeTable.indexOf(cipher[i+2])
const d = codeTable.indexOf(cipher[i+3])

const n1 = a << 2 | b >> 4
const n2 = (b & 15) << 4 | c >> 2
const n3 = (c & 3) << 6 | d
result += String.fromCharCode(n1)
if(c != 64) {
result += String.fromCharCode(n2)
}
if(d != 64) {
result += String.fromCharCode(n3)
}
}
return result
}
```
分母
2023 年 9 月 4 日
回复了 cheneydog 创建的主题 问与答 国庆开长途回老家,有啥合适的车险么?
@iMiata #15 你要赌概率嘛
2023 年 9 月 4 日
回复了 barryzhai 创建的主题 宽带症候群 提升从英国访问国内家中 NAS 速度
其实我觉得可以把硬盘拆了带着 最方便
2023 年 8 月 28 日
回复了 Kung815 创建的主题 OpenAI 挂一个令人恶心的 gpt 合租商,大家避雷
《你不干有的是人干》
打死都不去贵阳啊 为啥要去 换一个
2023 年 8 月 22 日
回复了 Edward4074 创建的主题 程序员 讲个笑话,领导要求低代码中使用 Java 作为脚本语言
@gym345600 #44 其实就是分享吐槽一下,正常我们说就是六字真言,你应该带个狗头哈哈哈
2023 年 8 月 22 日
回复了 Edward4074 创建的主题 程序员 讲个笑话,领导要求低代码中使用 Java 作为脚本语言
@gym345600 这个都这么多赞?戾气这么大?
2023 年 8 月 22 日
回复了 lurenjiauser 创建的主题 Go 编程语言 恨死 go 的导出变量命名规则了
GetId 可破
1 ... 15  16  17  18  19  20  21  22  23  24 ... 83  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   971 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 19:55 · PVG 03:55 · LAX 12:55 · JFK 15:55
♥ Do have faith in what you're doing.