zagrade.cpp:17:13: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
17 | void vprint(auto L,auto R){while(L<R)cerr<<*L<<" \n"[next(L)==R], ++L;}
| ^~~~
zagrade.cpp:17:20: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
17 | void vprint(auto L,auto R){while(L<R)cerr<<*L<<" \n"[next(L)==R], ++L;}
| ^~~~
zagrade.cpp: In lambda function:
zagrade.cpp:30:3: error: 'q' is not captured
30 | q--;
| ^
zagrade.cpp:29:16: note: the lambda has no capture-default
29 | auto query = [](int L, int R) {
| ^
zagrade.cpp:26:9: note: 'long long int q' declared here
26 | int n, q;
| ^
zagrade.cpp:31:6: error: 'q' is not captured
31 | if(q < 0) while(1);
| ^
zagrade.cpp:29:16: note: the lambda has no capture-default
29 | auto query = [](int L, int R) {
| ^
zagrade.cpp:26:9: note: 'long long int q' declared here
26 | int n, q;
| ^