bridges.cpp: In function 'void process(std::vector<std::pair<std::pair<int, int>, std::pair<int, int> > >)':
bridges.cpp:7:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | #define forr(i, j, k) for (int i = j; i < k; i++)
| ^
bridges.cpp:8:22: note: in expansion of macro 'forr'
8 | #define frange(i, j) forr(i, 0, j)
| ^~~~
bridges.cpp:102:9: note: in expansion of macro 'frange'
102 | frange(i, upd.size()) {
| ^~~~~~
bridges.cpp:109:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
109 | if(it+1 != uped[p1.f.s].size() && uped[p1.f.s][it+1] < p.s) continue;
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
bridges.cpp:7:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | #define forr(i, j, k) for (int i = j; i < k; i++)
| ^
bridges.cpp:8:22: note: in expansion of macro 'forr'
8 | #define frange(i, j) forr(i, 0, j)
| ^~~~
bridges.cpp:115:9: note: in expansion of macro 'frange'
115 | frange(i, upd.size()) {
| ^~~~~~
bridges.cpp: In function 'int main()':
bridges.cpp:177:24: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<std::pair<int, int>, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
177 | if(quer.size() >= sq) {
| ~~~~~~~~~~~~^~~~~
bridges.cpp: In function 'void usaco()':
bridges.cpp:30:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | freopen("/media/hariaakash646/785EF1075EF0BF46/CompetitiveProgramming/input.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bridges.cpp: In function 'int main()':
bridges.cpp:5:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | #define scd(t) scanf("%d", &t)
| ~~~~~^~~~~~~~~~
bridges.cpp:152:5: note: in expansion of macro 'scd'
152 | scd(n);
| ^~~
bridges.cpp:5:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | #define scd(t) scanf("%d", &t)
| ~~~~~^~~~~~~~~~
bridges.cpp:153:5: note: in expansion of macro 'scd'
153 | scd(m);
| ^~~
bridges.cpp:5:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | #define scd(t) scanf("%d", &t)
| ~~~~~^~~~~~~~~~
bridges.cpp:157:9: note: in expansion of macro 'scd'
157 | scd(edge[i].s.f);
| ^~~
bridges.cpp:5:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | #define scd(t) scanf("%d", &t)
| ~~~~~^~~~~~~~~~
bridges.cpp:158:9: note: in expansion of macro 'scd'
158 | scd(edge[i].s.s);
| ^~~
bridges.cpp:5:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | #define scd(t) scanf("%d", &t)
| ~~~~~^~~~~~~~~~
bridges.cpp:159:9: note: in expansion of macro 'scd'
159 | scd(edge[i].f);
| ^~~
bridges.cpp:5:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | #define scd(t) scanf("%d", &t)
| ~~~~~^~~~~~~~~~
bridges.cpp:163:5: note: in expansion of macro 'scd'
163 | scd(q);
| ^~~
bridges.cpp:5:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | #define scd(t) scanf("%d", &t)
| ~~~~~^~~~~~~~~~
bridges.cpp:172:9: note: in expansion of macro 'scd'
172 | scd(p.f.s);
| ^~~
bridges.cpp:5:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | #define scd(t) scanf("%d", &t)
| ~~~~~^~~~~~~~~~
bridges.cpp:173:9: note: in expansion of macro 'scd'
173 | scd(p.s.s);
| ^~~
bridges.cpp:5:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | #define scd(t) scanf("%d", &t)
| ~~~~~^~~~~~~~~~
bridges.cpp:174:9: note: in expansion of macro 'scd'
174 | scd(p.s.f);
| ^~~