0_0_37866151_20334.cpp:36:1: error: 'PII' does not name a type
PII b[N];
^
0_0_37866151_20334.cpp:37:1: error: 'PII' does not name a type
PII t[N];
^
0_0_37866151_20334.cpp: In function 'void cal(int, int, int)':
0_0_37866151_20334.cpp:43:16: error: 'b' was not declared in this scope
if(b[i].first%2)t[rr--] = b[i];
^
0_0_37866151_20334.cpp:43:29: error: 't' was not declared in this scope
if(b[i].first%2)t[rr--] = b[i];
^
0_0_37866151_20334.cpp:44:18: error: 't' was not declared in this scope
else t[ll++] = b[i];
^
0_0_37866151_20334.cpp:46:30: error: 'b' was not declared in this scope
for(int i=l;i<=r;i++)b[i] = t[i];
^
0_0_37866151_20334.cpp:46:37: error: 't' was not declared in this scope
for(int i=l;i<=r;i++)b[i] = t[i];
^
0_0_37866151_20334.cpp:50:12: error: 'b' was not declared in this scope
if(b[l].first%2){
^
0_0_37866151_20334.cpp: In function 'int main()':
0_0_37866151_20334.cpp:85:13: error: 'b' was not declared in this scope
b[i] = {a[i],i};
^
0_0_37866151_20334.cpp:91:21: error: 'b' was not declared in this scope
print(a[b[i].second]);
^
|