0_0_30230139_27308.cpp: In function 'int main()':
0_0_30230139_27308.cpp:85:64: error: array must be initialized with a brace-enclosed initializer
int p[0] = val[query(root[l-1], root[r], r-l+1, 1, n)].x;
^
0_0_30230139_27308.cpp:86:16: error: conflicting declaration 'int p [1]'
int p[1] = val[query(root[l-1], root[r], r-l, 1, n)].x;
^
0_0_30230139_27308.cpp:85:13: note: previous declaration as 'int p [0]'
int p[0] = val[query(root[l-1], root[r], r-l+1, 1, n)].x;
^
0_0_30230139_27308.cpp:87:16: error: conflicting declaration 'int p [2]'
int p[2] = val[query(root[l-1], root[r], r-l-1, 1, n)].x;
^
0_0_30230139_27308.cpp:85:13: note: previous declaration as 'int p [0]'
int p[0] = val[query(root[l-1], root[r], r-l+1, 1, n)].x;
^
0_0_30230139_27308.cpp:89:23: error: 'pa' was not declared in this scope
cout<<(ll)pa + pb + pc<<endl;
^
0_0_30230139_27308.cpp:89:28: error: 'pb' was not declared in this scope
cout<<(ll)pa + pb + pc<<endl;
^
0_0_30230139_27308.cpp:89:33: error: 'pc' was not declared in this scope
cout<<(ll)pa + pb + pc<<endl;
^
|