V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  sherlockwhite  ›  全部回复第 8 页 / 共 72 页
回复总数  1421
1 ... 4  5  6  7  8  9  10  11  12  13 ... 72  
```
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
}
```
分母
236 天前
回复了 cheneydog 创建的主题 问与答 国庆开长途回老家,有啥合适的车险么?
@iMiata #15 你要赌概率嘛
236 天前
回复了 barryzhai 创建的主题 宽带症候群 提升从英国访问国内家中 NAS 速度
其实我觉得可以把硬盘拆了带着 最方便
243 天前
回复了 Kung815 创建的主题 OpenAI 挂一个令人恶心的 gpt 合租商,大家避雷
《你不干有的是人干》
打死都不去贵阳啊 为啥要去 换一个
@gym345600 #44 其实就是分享吐槽一下,正常我们说就是六字真言,你应该带个狗头哈哈哈
@gym345600 这个都这么多赞?戾气这么大?
249 天前
回复了 zhwguest 创建的主题 Go 编程语言 恨死 go 的导出变量命名规则了
GetId 可破
249 天前
回复了 loveumozart 创建的主题 职场话题 GPT 老哥的三集连续剧看得有点头晕
@gpt5 額你不是開發吧?
1 ... 4  5  6  7  8  9  10  11  12  13 ... 72  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1344 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 41ms · UTC 17:32 · PVG 01:32 · LAX 10:32 · JFK 13:32
Developed with CodeLauncher
♥ Do have faith in what you're doing.