0_0_32403048_3619.cpp: In function 'int dfs(int, int, int, int, int)':
0_0_32403048_3619.cpp:34:9: error: invalid type argument of unary '*' (have 'int')
res=dfs(pos-1,a,b,c,d)+(x1^x2)*(1<<pos);
^
0_0_32403048_3619.cpp: At global scope:
0_0_32403048_3619.cpp:35:6: error: expected unqualified-id before 'else'
}else if(x1==y1 && x2!=y2){
^
0_0_32403048_3619.cpp:39:6: error: expected unqualified-id before 'else'
}else if(x1!=y1 && x2==y2){
^
0_0_32403048_3619.cpp:42:6: error: expected unqualified-id before 'else'
}else if(x1!=y1 && x2!=y2){
^
0_0_32403048_3619.cpp:48:5: error: expected unqualified-id before 'for'
for (int i = x1; i <= y1; ++i) {
^
0_0_32403048_3619.cpp:48:5: error: expected constructor, destructor, or type conversion before 'for'
0_0_32403048_3619.cpp:48:22: error: 'i' does not name a type
for (int i = x1; i <= y1; ++i) {
^
0_0_32403048_3619.cpp:48:31: error: expected unqualified-id before '++' token
for (int i = x1; i <= y1; ++i) {
^
|