摘要:
推导式是 Python 中十分常用且好用的语法 ls = [1, 2, 3, 4, 5, 6, 7] lss = [i**2 for i in ls if i%2] 在 C++ 中没有这样的语法,用循环的话感觉不够优雅(? XD),感觉可以这样 std::vector<int> v{1, 2, 3, 阅读全文
摘要:
创建存储桶:仪表盘 -- R2 -- 创建存储桶 R2 界面右上角 -- 管理 R2 API 令牌 -- 创建 API 令牌 cloudflare/python-cloudflare: Python wrapper for the Cloudflare Client API v4 python AP 阅读全文
摘要:
起因是,我想把 SumatraPDF 设置为默认的 PDF 阅读器,但是软件内设置不管用,每次打开都是 Edge。 单纯这样设置并不管用,找了很久也没找到设置项,Disable the Default Built-In PDF Viewer in Chrome, Firefox, Edge, Saf 阅读全文
摘要:
题目 Given a number n, the task is to find out whether this number is a Smith number or not. A Smith number is a composite number whose sum of digits is 阅读全文