Problem | packingducks |
---|---|
User | emyz |
Submission Time | 2023-12-08 02:03:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
packingducks.cpp:4:19: error: ‘curr’ has not been declared
4 | void huh(int a[], curr, sum)
| ^~~~
packingducks.cpp:4:25: error: ‘sum’ has not been declared
4 | void huh(int a[], curr, sum)
| ^~~
packingducks.cpp: In function ‘void huh(int*, int, int)’:
packingducks.cpp:6:6: error: ‘curr’ was not declared in this scope
6 | if (curr==n)
| ^~~~
packingducks.cpp:8:7: error: ‘sum’ was not declared in this scope
8 | if (sum<=k)
| ^~~
packingducks.cpp:15:8: error: ‘curr’ was not declared in this scope
15 | huh(a,curr+1,sum+a[curr]);
| ^~~~
packingducks.cpp:15:15: error: ‘sum’ was not declared in this scope
15 | huh(a,curr+1,sum+a[curr]);
| ^~~