質問編集履歴
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
-
|
15
|
+
分岐
|
16
16
|
|
17
17
|
return dfs(i + 1, f + s[i + 1]) + dfs(i + 1, f + "+" + s[i + 1])
|
18
18
|
|
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
return sum(list(map(int, f.split("+")))
|
38
38
|
|
39
|
-
|
39
|
+
分岐
|
40
40
|
|
41
41
|
return dfs(i + 1, f + s[i + 1]) + dfs(i + 1, f + "+" + s[i + 1])
|
42
42
|
|