0_0_18643328_3934.cpp: In function 'int main()':
0_0_18643328_3934.cpp:9:2: error: 'nbsp' was not declared in this scope
int T;
^
0_0_18643328_3934.cpp:26:97: error: expected '}' before 'else'
else{
^
0_0_18643328_3934.cpp:38:97: error: expected '}' before 'else'
else{
^
0_0_18643328_3934.cpp:45:100: error: 'l' was not declared in this scope
if(l==r-1) printf("Invalid.\n");
^
0_0_18643328_3934.cpp:45:103: error: 'r' was not declared in this scope
if(l==r-1) printf("Invalid.\n");
^
0_0_18643328_3934.cpp:46:97: error: expected '}' before 'else'
else if(d.empty()) printf("%d\n",(r-l-1)%2);
^
0_0_18643328_3934.cpp:46:131: error: 'r' was not declared in this scope
else if(d.empty()) printf("%d\n",(r-l-1)%2);
^
0_0_18643328_3934.cpp:46:133: error: 'l' was not declared in this scope
else if(d.empty()) printf("%d\n",(r-l-1)%2);
^
0_0_18643328_3934.cpp:47:97: error: 'else' without a previous 'if'
else{
^
0_0_18643328_3934.cpp:49:125: error: 'flag' was not declared in this scope
if(!flag){
^
0_0_18643328_3934.cpp:51:154: error: 'l' was not declared in this scope
num+=(y!=l+1)+r-y-1;
^
0_0_18643328_3934.cpp:51:159: error: 'r' was not declared in this scope
num+=(y!=l+1)+r-y-1;
^
0_0_18643328_3934.cpp:53:121: error: 'else' without a previous 'if'
else{
^
0_0_18643328_3934.cpp:55:154: error: 'r' was not declared in this scope
num+=(y!=r-1)+y-l-1;
^
0_0_18643328_3934.cpp:55:161: error: 'l' was not declared in this scope
num+=(y!=r-1)+y-l-1;
^
0_0_18643328_3934.cpp: At global scope:
0_0_18643328_3934.cpp:60:6: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_18643328_3934.cpp:60:12: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_18643328_3934.cpp:60:18: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_18643328_3934.cpp:60:24: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_18643328_3934.cpp:60:30: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_18643328_3934.cpp:60:36: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_18643328_3934.cpp:60:42: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_18643328_3934.cpp:60:48: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_18643328_3934.cpp:60:49: error: expected declaration before '}' token
}
^
|