gondola.cpp:11:11: error: 'long long int valid' redeclared as different kind of entity
11 | 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:35:17: error: 'long long int replacement' redeclared as different kind of entity
35 | 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:39:17: error: expected constructor, destructor, or type conversion before '(' token
39 | countReplacement(n, a){
| ^