koala.cpp: In function 'int minValue(int, int)':
koala.cpp:17:13: error: cannot convert 'std::vector<int>' to 'int*'
17 | playRound(v, a);
| ^
| |
| std::vector<int>
In file included from koala.cpp:2:
koala.h:4:21: note: initializing argument 1 of 'void playRound(int*, int*)'
4 | void playRound(int *B, int *R);
| ~~~~~^
koala.cpp:18:23: error: 'N' was not declared in this scope
18 | for (int i = 0; i < N; i++)
| ^
koala.cpp: In function 'int maxValue(int, int)':
koala.cpp:30:15: error: cannot convert 'std::vector<int>' to 'int*'
30 | playRound(v, a);
| ^
| |
| std::vector<int>
In file included from koala.cpp:2:
koala.h:4:21: note: initializing argument 1 of 'void playRound(int*, int*)'
4 | void playRound(int *B, int *R);
| ~~~~~^