bridges.cpp:50:2: warning: #warning constants according to subtask [-Wcpp]
50 | #warning constants according to subtask
| ^~~~~~~
bridges.cpp: In member function 'void UFDS::init(long long int)':
bridges.cpp:5:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
bridges.cpp:27:9: note: in expansion of macro 'rep'
27 | rep(i, 0, n - 1) {
| ^~~
bridges.cpp: In function 'void query(long long int, long long int)':
bridges.cpp:5:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
bridges.cpp:66:5: note: in expansion of macro 'rep'
66 | rep(i, 1, m) {
| ^~~
bridges.cpp: In function 'int32_t main()':
bridges.cpp:5:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
bridges.cpp:80:5: note: in expansion of macro 'rep'
80 | rep(i, 1, m) {
| ^~~
bridges.cpp:5:30: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
5 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
bridges.cpp:81:9: note: in expansion of macro 'rep'
81 | rep(j, 0, 2) cin >> ed[i][j];
| ^~~
bridges.cpp:5:30: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
5 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
bridges.cpp:86:5: note: in expansion of macro 'rep'
86 | rep(i, 1, q) {
| ^~~