0_0_39095772_29681.cpp: In function 'int main()':
0_0_39095772_29681.cpp:45:9: error: 'scanf' was not declared in this scope; did you mean 'isnanf'?
45 | scanf("%d", &T);
| ^~~~~
| isnanf
0_0_39095772_29681.cpp:70:17: error: 'cin' was not declared in this scope
70 | cin >> m;
| ^~~
0_0_39095772_29681.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <cstring>
+++ |+#include <iostream>
2 | using namespace std;
0_0_39095772_29681.cpp:75:25: error: 'printf' was not declared in this scope
75 | printf("%d\n", query(l, r, x));
| ^~~~~~
0_0_39095772_29681.cpp:2:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
1 | #include <cstring>
+++ |+#include <cstdio>
2 | using namespace std;
|