This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| constexpr int N_PICK = 5; | |
| constexpr int NUM_PLAYERS = 20; | |
| auto solve_helper(int budget, std::span<int> points, std::span<int> costs) { | |
| const int N = points.size(); | |
| std::vector<std::vector<std::pair<int, int>>> ret(N_PICK + 1); | |
| for (int i = 0; i < (1 << N); i++) { |
OlderNewer