From abcc0a6bce7b4ce03c651db0b6c1ef9959ef8d34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=A0=91=E6=A3=AE?= Date: Fri, 13 Sep 2019 22:50:00 +0800 Subject: [PATCH] Update 7. Reverse Integer.md --- solutions/7. Reverse Integer.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) {