所有公开日志

所有WHY42公开日志的联合展示。您可以通过选择日志类型、输入用户名(区分大小写)或相关页面(区分大小写)筛选日志条目。

日志
  • 2024年2月29日 (四) 14:02 Riguz 讨论 贡献创建了页面69.Sqrt(x) (创建页面,内容为“=Description= {{LeetCode |id=sqrtx |no=69 |difficulty=Easy |category=Math |collection=Top 150 |title=Sqrt(x) |summary=Given a non-negative integer x, return the square root of x rounded down to the nearest integer. The returned integer should be non-negative as well.}} You must not use any built-in exponent function or operator. For example, do not use pow(x, 0.5) in c++ or x ** 0.5 in python. Example 1: <syntaxhighlight lang="bash"> Input: x = 4 Output:…”)