Problem | 01knapsack |
---|---|
User | Vinayak01 |
Submission Time | 2024-03-14 19:42:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
01knapsack.cpp:4:2: error: invalid preprocessing directive #typedef
4 | #typedef long long ll
| ^~~~~~~
01knapsack.cpp:6:32: error: ‘ll’ was not declared in this scope
6 | int knapsack(int W,vector<pair<ll,ll>> items){
| ^~
01knapsack.cpp:6:35: error: ‘ll’ was not declared in this scope
6 | int knapsack(int W,vector<pair<ll,ll>> items){
| ^~
01knapsack.cpp:6:35: error: template argument 1 is invalid
01knapsack.cpp:6:35: error: template argument 2 is invalid
01knapsack.cpp:6:37: error: template argument 1 is invalid
6 | int knapsack(int W,vector<pair<ll,ll>> items){
| ^~
01knapsack.cpp:6:37: error: template argument 2 is invalid
01knapsack.cpp: In function ‘int knapsack(int, int)’:
01knapsack.cpp:7:16: error: request for member ‘size’ in ‘items’, which is of non-cl