examination.cpp: In function 'void add(int)':
examination.cpp:29:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::set<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (; i<=A.size(); i+=i&(-i)) {
| ~^~~~~~~~~~
examination.cpp:32:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::map<int, int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for (; j<=mp_fen[i].size(); j+=j&(-j)) fen[i][j]++;
| ~^~~~~~~~~~~~~~~~~~
examination.cpp:35:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::set<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (; i<=B.size(); i+=i&(-i)) fenB[i]++;
| ~^~~~~~~~~~
examination.cpp: In function 'int main()':
examination.cpp:74:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::map<int, int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for (int i=1; i<=mpA.size(); i++) {
| ~^~~~~~~~~~~~
examination.cpp:61:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
61 | scanf(" %d %d", &n, &t);
| ~~~~~^~~~~~~~~~~~~~~~~~
examination.cpp:62:34: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | for (int i=0; i<n; i++) scanf(" %d %d", &s[i].a, &s[i].b);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
examination.cpp:63:34: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
63 | for (int i=0; i<t; i++) scanf(" %d %d %d", &q[i].x, &q[i].y, &q[i].z), q[i].idx = i;
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~