📌 📄 内容摘要:
Megasoft (@zhong_little) 在 不是哥们,刷题新姿势?! 中发帖
不是哥们,这么个刷题法?!
见过打表的,见过一行 python 走天下的,还是第一次见到往 python 里塞汇编的 [tieba_027]
[Clip_2024-09-10_10-22-06]
题目:. - 力扣(LeetCode)
代码:
import time
from ctypes import *
import mmap
def translate(s):
res = b""
for l in s.split("\n"):
if not ":" in l or ">:" in l:
continue
l = l[l.find(":") + 1 :].strip()
l = l[: l.find(" ")].strip()
for b in l.split("...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/201437/1
─────────────────────────────
📢 来源:LINUX DO