MCPcopy Create free account
hub / github.com/Rohit91singh9/Coding-DP-DSA / main

Function main

bestCombos.cpp:41–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41int main() {
42 int n, k;
43 cin >> n;
44 vector<int> p(n);
45 for(int&i : p) cin >> i;
46 cin >> k;
47
48 auto b = bestCombo(p, k);
49 for(int i: b)
50 cout << i << " ";
51 return 0;
52}

Callers

nothing calls this directly

Calls 1

bestComboFunction · 0.85

Tested by

no test coverage detected