Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
14 lines (8 loc) · 357 Bytes

File metadata and controls

executable file
·
14 lines (8 loc) · 357 Bytes

题目

Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.

Example: Given a = 1 and b = 2, return 3.

Credits:Special thanks to @fujiaozhu for adding this problem and creating all test cases.

解题思路

见程序注释