0_0_38955038_391.cpp: In function 'long long int query(long long int, long long int, long long int, long long int)':
0_0_38955038_391.cpp:27:23: error: 'tint' does not name a type; did you mean 'int'?
27 | for (register tint i = l; i <= R[x]; i++)
| ^~~~
| int
0_0_38955038_391.cpp:27:34: error: expected ';' before 'i'
27 | for (register tint i = l; i <= R[x]; i++)
| ^~
| ;
0_0_38955038_391.cpp:27:35: error: 'i' was not declared in this scope
27 | for (register tint i = l; i <= R[x]; i++)
| ^
0_0_38955038_391.cpp:32:25: error: 'cnt' was not declared in this scope; did you mean 'int'?
32 | cnt++;
| ^~~
| int
0_0_38955038_391.cpp:36:26: error: 'cnt' was not declared in this scope; did you mean 'int'?
36 | if (d >= cnt + 1 && v == 0) res++;
| ^~~
| int
|