回答編集履歴
1
誤記修正。
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
if( ancestor[j] == true) ⇒ if( ancetor.get(
|
13
|
+
if( ancestor[j] == true) ⇒ if( ancetor.get(j) == true)
|
14
14
|
|
15
15
|
ancestor[depth] = true; ⇒ ancestor.set(depth, true);
|
16
16
|
|