bridges.cpp:20:2: warning: #warning constants according to subtask [-Wcpp]
20 | #warning constants according to subtask
| ^~~~~~~
bridges.cpp: In function 'void modify(long long int, long long int)':
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:29:5: note: in expansion of macro 'rep'
29 | rep(j, 0, 1) adj[ed[b][j]].erase(mp(ed[b][1 - j], ed[b][2]));
| ^~~
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:31:5: note: in expansion of macro 'rep'
31 | rep(j, 0, 1) adj[ed[b][j]].insert(mp(ed[b][1 - j], ed[b][2]));
| ^~~
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:44:5: note: in expansion of macro 'rep'
44 | rep(i, 1, n) vis[i] = 0;
| ^~~
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:55:5: note: in expansion of macro 'rep'
55 | 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:56:9: note: in expansion of macro 'rep'
56 | 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:57:9: note: in expansion of macro 'rep'
57 | rep(j, 0, 1) adj[ed[i][j]].insert(mp(ed[i][1 - j], ed[i][2]));
| ^~~
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:61:5: note: in expansion of macro 'rep'
61 | rep(i, 1, q) {
| ^~~