gondola.cpp: In function 'int replacement(int, int*, int*)':
gondola.cpp:4:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define lp(i,a,b) for(int i=a;i<b;i++)
gondola.cpp:67:6:
lp(i,0,p.size()){
~~~~~~~~~~~~
gondola.cpp:67:3: note: in expansion of macro 'lp'
lp(i,0,p.size()){
^~
gondola.cpp: In function 'long long int countReplacement(int, int*)':
gondola.cpp:91:4: error: ambiguating new declaration of 'long long int countReplacement(int, int*)'
ll countReplacement(int n, int inputSeq[])
^~~~~~~~~~~~~~~~
In file included from gondola.cpp:2:0:
gondola.h:12:5: note: old declaration 'int countReplacement(int, int*)'
int countReplacement(int n, int inputSeq[]);
^~~~~~~~~~~~~~~~
gondola.cpp:4:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define lp(i,a,b) for(int i=a;i<b;i++)
gondola.cpp:118:8:
lp(i,1,p.size())
~~~~~~~~~~~~
gondola.cpp:118:5: note: in expansion of macro 'lp'
lp(i,1,p.size())
^~