Update 7. Reverse Integer.md

This commit is contained in:
唐树森 2019-09-13 22:50:00 +08:00 committed by GitHub
parent 896669da4a
commit abcc0a6bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
* Python 3.6>>> (-7) % 3 // 输出 2
# C++
## 方法一
```
``` C++
class Solution {
public:
int reverse(int x) {
@ -25,8 +25,9 @@ public:
}
};
```
## 方法二(较方法一更快)
```
``` C++
class Solution {
public:
int reverse(int x) {