0_0_37792098_22447.cpp:46:9: error: redefinition of 'int m'
int m=(l+r)>>1;
^
0_0_37792098_22447.cpp:8:7: note: 'int m' previously declared here
int n,m,t;
^
0_0_37792098_22447.cpp:46:12: error: 'l' was not declared in this scope
int m=(l+r)>>1;
^
0_0_37792098_22447.cpp:46:14: error: 'r' was not declared in this scope
int m=(l+r)>>1;
^
0_0_37792098_22447.cpp:48:5: error: expected unqualified-id before 'if'
if(L<=m)
^
0_0_37792098_22447.cpp:50:5: error: expected unqualified-id before 'if'
if(R>m)
^
0_0_37792098_22447.cpp:52:5: error: expected unqualified-id before 'return'
return res;
^
0_0_37792098_22447.cpp:53:1: error: expected declaration before '}' token
}
^
|