poklon.cpp: In function 'int main()':
poklon.cpp:61:26: error: 'struct que' has no member named 'idx'; did you mean 'id'?
int idx = queries[i].idx;
^~~
id
poklon.cpp:62:38: error: too few arguments to function 'void chk2(int)'
while(L < l)cnt[a[L]]--,L++,chk2();
^
poklon.cpp:32:6: note: declared here
void chk2(int br)
^~~~
poklon.cpp:63:38: error: too few arguments to function 'void chk1(int)'
while(L > l)L--,cnt[a[L]]++,chk1();
^
poklon.cpp:26:6: note: declared here
void chk1(int br)
^~~~
poklon.cpp:64:38: error: too few arguments to function 'void chk2(int)'
while(R > r)cnt[a[R]]--,R--,chk2();
^
poklon.cpp:32:6: note: declared here
void chk2(int br)
^~~~
poklon.cpp:65:38: error: too few arguments to function 'void chk1(int)'
while(R < r)R++,cnt[a[R]]++,chk1();
^
poklon.cpp:26:6: note: declared here
void chk1(int br)
^~~~