secret.cpp:16:23: error: 'void sps(int, int*)' redeclared as different kind of entity
16 | void sps(int n,int a[]){
| ^
secret.cpp:12:5: note: previous declaration 'int sps [15][1005]'
12 | int sps[15][1005];
| ^~~
secret.cpp: In function 'void sps(int, int*)':
secret.cpp:23:14: error: 'secret' was not declared in this scope; did you mean 'Secret'?
23 | sps[i][j]=secret(sps[i-1][j],sps[i-1][j+(1<<(i-1))]);
| ^~~~~~
| Secret
secret.cpp: In function 'void INIT(int, int*)':
secret.cpp:28:12: error: 'sps' cannot be used as a function
28 | sps(N,a);
| ^
secret.cpp: In function 'int query(int, int)':
secret.cpp:32:16: error: 'secret' was not declared in this scope; did you mean 'Secret'?
32 | int minimum = secret(sps[i][L], sps[i][R - (1 << i) + 1]);
| ^~~~~~
| Secret