回答編集履歴
1
微修正
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
for (int i = n; i > 0; --i) {
|
23
|
+
for (int i = n-1; i > 0; --i) {
|
24
24
|
|
25
25
|
sorted = true;
|
26
26
|
|