Problem | troubles |
---|---|
User | samvar0907 |
Submission Time | 2024-01-27 17:29:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
troubles.cpp: In function ‘int minTrouble(int, std::vector<std::pair<int, int> >&)’:
troubles.cpp:28:83: error: ‘i’ was not declared in this scope
28 | dp[mask] = min(dp[mask], max_naughtiness * max_cuteness + dp[mask ^ (1 << i)]);
| ^