1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/problem (Chinese)/最大数值 [maximum-lcci].html
2022-03-29 12:43:11 +08:00

6 lines
263 B
HTML

<p>编写一个方法,找出两个数字<code>a</code><code>b</code>中最大的那一个。不得使用if-else或其他比较运算符。</p>
<p><strong>示例:</strong></p>
<pre><strong>输入:</strong> a = 1, b = 2
<strong>输出:</strong> 2
</pre>