所有Tardis百科公开日志的联合展示。您可以通过选择日志类型、输入用户名(区分大小写)或相关页面(区分大小写)筛选日志条目。
- 2024年5月26日 (日) 22:02 胡大夫 讨论 贡献保护了Module:Exponential search [编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期) (历史)
- 2024年5月26日 (日) 21:58 胡大夫 讨论 贡献创建了页面Module:Exponential search (创建页面,内容为“-- This module provides a generic exponential search algorithm. requirestrict local checkType = require('libraryUtil').checkType local floor = math.floor local function midPoint(lower, upper) return floor(lower + (upper - lower) / 2) end local function search(testFunc, i, lower, upper) if testFunc(i) then if i + 1 == upper then return i end lower = i if upper then i = midPoint(lower, upper) else i = i * 2 end return search(testFu…”)