| Problem | coinbag |
|---|---|
| User | notachicken |
| Submission Time | 2026-11-13 13:38:18 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
coinbag.cpp: In function ‘int f(int, int)’:
coinbag.cpp:8:19: error: ‘w’ was not declared in this scope
8 | if (m == 0 || w == 0){
| ^
coinbag.cpp:13:5: error: ‘optA’ was not declared in this scope
13 | optA = f(n-1, m-arr[n].second);
| ^~~~
coinbag.cpp:14:5: error: ‘optB’ was not declared in this scope
14 | optB = f(n-1, m);
| ^~~~