secret.cpp: In function 'void query(int, int, int, int, int)':
secret.cpp:20:14: warning: left operand of comma operator has no effect [-Wunused-value]
20 | else (mid+1,r,lvl+1,L,R);
| ~~~^~
secret.cpp:20:23: warning: right operand of comma operator has no effect [-Wunused-value]
20 | else (mid+1,r,lvl+1,L,R);
| ^
secret.cpp:20:22: warning: right operand of comma operator has no effect [-Wunused-value]
20 | else (mid+1,r,lvl+1,L,R);
| ~~~^~
secret.cpp:20:27: warning: right operand of comma operator has no effect [-Wunused-value]
20 | else (mid+1,r,lvl+1,L,R);
| ^
secret.cpp: In function 'int Query(int, int)':
secret.cpp:30:20: error: 'Secret' was not declared in this scope
30 | if(L!=R) ans = Secret(ans,suff[R][idx]);
| ^~~~~~
secret.cpp: In function 'void divide(int, int, int)':
secret.cpp:38:46: error: 'Secret' was not declared in this scope
38 | for(int i=mid-1;i>=l;i--) pref[i][lvl] = Secret(a[i],pref[i+1][lvl]);
| ^~~~~~
secret.cpp:40:46: error: 'Secret' was not declared in this scope
40 | for(int i=mid+2;i<=r;i++) suff[i][lvl] = Secret(suff[i-1][lvl],a[i]);
| ^~~~~~