gondola.cpp:56:2: error: stray '#' in program
56 | }#include "gondola.h"
| ^
gondola.cpp: In function 'int replacement(int, int*, int*)':
gondola.cpp:3:12: error: 'struct std::pair<int, int>' has no member named 'fireplacementSeqt'
3 | #define fs fireplacementSeqt
| ^~~~~~~~~~~~~~~~~
gondola.cpp:51:20: note: in expansion of macro 'fs'
51 | for(;nw<=y.fs;f++,nw++){
| ^~
gondola.cpp: At global scope:
gondola.cpp:56:3: error: 'include' does not name a type
56 | }#include "gondola.h"
| ^~~~~~~
gondola.cpp:62:5: error: redefinition of 'int valid(int, int*)'
62 | int valid(int n, int inputSeq[])
| ^~~~~
gondola.cpp:7:5: note: 'int valid(int, int*)' previously defined here
7 | int valid(int n, int inputSeq[])
| ^~~~~
gondola.cpp:83:5: error: redefinition of 'int replacement(int, int*, int*)'
83 | int replacement(int n, int gondolaSeq[], int replacementSeq[])
| ^~~~~~~~~~~
gondola.cpp:28:5: note: 'int replacement(int, int*, int*)' previously defined here
28 | int replacement(int n, int gondolaSeq[], int replacementSeq[])
| ^~~~~~~~~~~
gondola.cpp: In function 'int replacement(int, int*, int*)':
gondola.cpp:58:12: error: 'struct std::pair<int, int>' has no member named 'fireplacementSeqt'
58 | #define fs fireplacementSeqt
| ^~~~~~~~~~~~~~~~~
gondola.cpp:106:20: note: in expansion of macro 'fs'
106 | for(;nw<=y.fs;f++,nw++){
| ^~
gondola.cpp: At global scope:
gondola.cpp:123:5: error: redefinition of 'int countReplacement(int, int*)'
123 | int countReplacement(int n, int inputSeq[])
| ^~~~~~~~~~~~~~~~
gondola.cpp:115:5: note: 'int countReplacement(int, int*)' previously defined here
115 | int countReplacement(int n, int inputSeq[])
| ^~~~~~~~~~~~~~~~