Problem | knapsack |
---|---|
User | Daddy |
Submission Time | 2023-11-10 15:00:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
knapsack.cpp: In function ‘int32_t KnappySacky(long long int, long long int, std::vector<std::tuple<long long int, long long int, long long int> >&)’:
knapsack.cpp:29:47: error: ‘max’ cannot be used as a function
29 | a[j]=max(a[j],a[j-z*y]+z*x);
| ^