Contents Introduction .....................................................................................8 1. Egogoogling: Susan Is…..............................................................9 2. The Google Snake Game...........................
BV号与av号互转算法
Python
alphabet = 'fZodR9XQDSUm21yCkr6zBqiveYah8bt4xsWpHnJE7jL5VG3guMTKNPAwcF'
def dec(x):
r = 0
for i, v in enumerate([11, 10, 3, 8, 4, 6]):
r += alphabet.find(x[v]) * 58**i
return (r - 0x2_0840_07c0) ^ 0x0a93_b324
de