gondola.cpp:10:11: error: 'int valid' redeclared as different kind of entity
10 | int valid(n, a){
| ^
In file included from gondola.cpp:2:
gondola.h:8:5: note: previous declaration 'int valid(int, int*)'
8 | int valid(int n, int inputSeq[]);
| ^~~~~
gondola.cpp:34:17: error: 'int replacement' redeclared as different kind of entity
34 | int replacement(n, a, b){
| ^
In file included from gondola.cpp:2:
gondola.h:10:5: note: previous declaration 'int replacement(int, int*, int*)'
10 | int replacement(int n, int gondolaSeq[], int replacementSeq[]);
| ^~~~~~~~~~~
gondola.cpp:38:17: error: expected constructor, destructor, or type conversion before '(' token
38 | countReplacement(n, a){
| ^