mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 19:31:42 +08:00
add leetcode problem-cn part2
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<p>Write a function that adds two numbers. You should not use + or any arithmetic operators.</p>
|
||||
|
||||
<p><strong>Example:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> a = 1, b = 1
|
||||
<strong>Output:</strong> 2</pre>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><strong>Note: </strong></p>
|
||||
|
||||
<ul>
|
||||
<li><code>a</code> and <code>b</code> may be 0 or negative.</li>
|
||||
<li>The result fits in 32-bit integer.</li>
|
||||
</ul>
|
Reference in New Issue
Block a user