0_0_17208800_27918.cpp: In function 'long int lookUp(int, int, int, int, int)':
0_0_17208800_27918.cpp:42:53: error: ambiguating new declaration of 'long int lookUp(int, int, int, int, int)'
long int lookUp(int L, int R, int root, int l, int r) {
^
0_0_17208800_27918.cpp:28:6: note: old declaration 'void lookUp(int, int, int, int, int)'
void lookUp(int L, int R, int root, int l, int r);
^
0_0_17208800_27918.cpp:47:3: error: 'ret' was not declared in this scope
ret = 1;
^
0_0_17208800_27918.cpp: In function 'int main()':
0_0_17208800_27918.cpp:101:61: error: too few arguments to function 'void lookUp(int, int, int, int, int)'
long int value = posa<posb?lookUp(posa, posb - 1):1;
^
0_0_17208800_27918.cpp:28:6: note: declared here
void lookUp(int L, int R, int root, int l, int r);
^
|