aboutsummaryrefslogtreecommitdiff
path: root/combinations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'combinations.cpp')
-rw-r--r--combinations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/combinations.cpp b/combinations.cpp
index f524fc2..94d4bfc 100644
--- a/combinations.cpp
+++ b/combinations.cpp
@@ -9,8 +9,8 @@
class Solution {
public:
- vvd(int) combine(int n, int k) {
- vvd(int) ans;
+ vvd combine(int n, int k) {
+ vvd ans;
int i = 0;
vector<int> p(k, 0);
while (i >= 0) {