koala.cpp: In function 'int maxValue(int, int)':
koala.cpp:26:9: error: 'N' was not declared in this scope
26 | int a[N];
| ^
koala.cpp:28:5: error: 'a' was not declared in this scope
28 | a[i] = 1;
| ^
koala.cpp:33:11: error: 'a' was not declared in this scope
33 | if (a[i] == t) v[i] = t, ans = i;
| ^
koala.cpp:33:22: error: 'v' was not declared in this scope
33 | if (a[i] == t) v[i] = t, ans = i;
| ^
koala.cpp:34:12: error: 'v' was not declared in this scope
34 | else v[i] = 0;
| ^
koala.cpp:36:7: error: 'a' was not declared in this scope
36 | a[i] = 0;
| ^
koala.cpp:37:15: error: 'v' was not declared in this scope
37 | playRound(v, a);
| ^
koala.cpp:37:18: error: 'a' was not declared in this scope
37 | playRound(v, a);
| ^