Problem | fractional_knapsack |
---|---|
User | ATHY |
Submission Time | 2024-10-13 17:44:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fractional_knapsack.cpp: In function ‘int main()’:
fractional_knapsack.cpp:28:50: error: cannot resolve overloaded function ‘data’ based on conversion to type ‘Item*’
28 | double real = fractionalKnapsack(S, arr.data, no);
| ^