Problem | fractional_knapsack |
---|---|
User | Henries |
Submission Time | 2024-10-13 15:09:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fractional_knapsack.cpp: In function ‘void solve(std::vector<std::pair<double, double> >, long long int)’:
fractional_knapsack.cpp:8:18: error: ‘n’ was not declared in this scope
8 | for (int i =0;i<n;i++){
| ^