| Problem | subknapsack |
|---|---|
| User | chenweilian |
| Submission Time | 2023-01-02 15:34:55 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
subknapsack.cpp: In function ‘int main()’:
subknapsack.cpp:15:35: error: ‘w’ was not declared in this scope
15 | f[j]=(f[j]+(f[j-a[i]]*w%mod))%mod;
| ^