gondola.cpp: In function 'int replacement(int, int*, int*)':
gondola.cpp:12:2: error: 'vi' was not declared in this scope
12 | vi initial(n), replace;
| ^~
gondola.cpp:14:3: error: 'initial' was not declared in this scope
14 | initial[i] = gondolaSeq[i];
| ^~~~~~~
gondola.cpp:16:7: error: 'initial' was not declared in this scope
16 | sort(initial.begin(), initial.end());
| ^~~~~~~
gondola.cpp:16:2: error: 'sort' was not declared in this scope; did you mean 'short'?
16 | sort(initial.begin(), initial.end());
| ^~~~
| short
gondola.cpp:24:4: error: 'replace' was not declared in this scope; did you mean 'replacement'?
24 | replace.pb(j);
| ^~~~~~~
| replacement
gondola.cpp:28:10: error: 'replace' was not declared in this scope; did you mean 'replacement'?
28 | int l = replace.size();
| ^~~~~~~
| replacement