aboutsummaryrefslogtreecommitdiff
path: root/binary_tree_factors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'binary_tree_factors.cpp')
-rw-r--r--binary_tree_factors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/binary_tree_factors.cpp b/binary_tree_factors.cpp
index 7813f17..fef1b69 100644
--- a/binary_tree_factors.cpp
+++ b/binary_tree_factors.cpp
@@ -20,7 +20,7 @@ public:
um[num] = ways;
ans = (ans + ways) % 1000000007;
}
- return (int)ans;
+ return ans;
}
};