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 'j' [-Wparentheses]
5 | #define rep(i, a, b) for(int (i) = (a); i <= (b); ++i)
| ^
bridges.cpp:67:9: note: in expansion of macro 'rep'
67 | rep(j, 1, 2) A[i][j] = ed[i][j - 1];
| ^~~
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:73:5: note: in expansion of macro 'rep'
73 | 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:92:5: note: in expansion of macro 'rep'
92 | 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:100:5: note: in expansion of macro 'rep'
100 | rep(i, 1, q) {
| ^~~