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 '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:65:5: note: in expansion of macro 'rep'
65 | 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:66:9: note: in expansion of macro 'rep'
66 | 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:75:5: note: in expansion of macro 'rep'
75 | rep(i, 1, q) {
| ^~~
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:95:5: note: in expansion of macro 'rep'
95 | rep(i, 1, m + q) {
| ^~~
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:103:5: note: in expansion of macro 'rep'
103 | rep(i, 1, q) {
| ^~~