koala.cpp: In function 'int minValue(int, int)':
koala.cpp:33:28: error: a function-definition is not allowed here before '{' token
33 | int maxValue(int N, int W) {
| ^
koala.cpp:40:32: error: a function-definition is not allowed here before '{' token
40 | int greaterValue(int N, int W) {
| ^
koala.cpp:47:38: error: a function-definition is not allowed here before '{' token
47 | void allValues(int N, int W, int *P) {
| ^
koala.cpp:57:2: error: expected '}' at end of input
57 | }
| ^
koala.cpp:3:28: note: to match this '{'
3 | int minValue(int N, int W) {
| ^
koala.cpp:57:2: warning: control reaches end of non-void function [-Wreturn-type]
57 | }
| ^