xylophone.cpp: In function 'void solve(int)':
xylophone.cpp:25:5: error: 'll' was not declared in this scope
ll cg = 0,sm = 0;
^~
xylophone.cpp:25:5: note: suggested alternative: 'lf'
ll cg = 0,sm = 0;
^~
lf
xylophone.cpp:29:23: error: 'sm' was not declared in this scope
if(A[i] == 1) sm = 1;
^~
xylophone.cpp:29:23: note: suggested alternative: 'tm'
if(A[i] == 1) sm = 1;
^~
tm
xylophone.cpp:32:16: error: 'sm' was not declared in this scope
if(sm == 1) cg = 1;
^~
xylophone.cpp:32:16: note: suggested alternative: 'tm'
if(sm == 1) cg = 1;
^~
tm
xylophone.cpp:32:25: error: 'cg' was not declared in this scope
if(sm == 1) cg = 1;
^~
xylophone.cpp:32:25: note: suggested alternative: 'ck'
if(sm == 1) cg = 1;
^~
ck
xylophone.cpp:35:8: error: 'cg' was not declared in this scope
if(cg == 1)
^~
xylophone.cpp:35:8: note: suggested alternative: 'ck'
if(cg == 1)
^~
ck
xylophone.cpp:7:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,k,mn = 1000000000;
^
xylophone.cpp:7:13: warning: unused variable 'k' [-Wunused-variable]
int i,j,k,mn = 1000000000;
^