diff --git a/solutions/7. Reverse Integer.md b/solutions/7. Reverse Integer.md index 5a0ac63..e1d35e1 100644 --- a/solutions/7. Reverse Integer.md +++ b/solutions/7. Reverse Integer.md @@ -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) {