foo.cc: In function ‘bool dfs(int)’:
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:54:5: note: in expansion of macro ‘Rf’
54 | Rf(i,1,n) if(lx[x]+ly[i]==w[x][i]&&!T[i]) {
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:54:5: note: in expansion of macro ‘Rf’
54 | Rf(i,1,n) if(lx[x]+ly[i]==w[x][i]&&!T[i]) {
| ^~
foo.cc: In function ‘void update()’:
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:67:5: note: in expansion of macro ‘Rf’
67 | Rf(i,1,n) if(S[i])
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:67:5: note: in expansion of macro ‘Rf’
67 | Rf(i,1,n) if(S[i])
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘j’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:68:9: note: in expansion of macro ‘Rf’
68 | Rf(j,1,n) if(!T[j])
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:68:9: note: in expansion of macro ‘Rf’
68 | Rf(j,1,n) if(!T[j])
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:70:5: note: in expansion of macro ‘Rf’
70 | Rf(i,1,n) {
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:70:5: note: in expansion of macro ‘Rf’
70 | Rf(i,1,n) {
| ^~
foo.cc: In function ‘void KM()’:
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:77:5: note: in expansion of macro ‘Rf’
77 | Rf(i,1,n) {
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:77:5: note: in expansion of macro ‘Rf’
77 | Rf(i,1,n) {
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘j’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:80:9: note: in expansion of macro ‘Rf’
80 | Rf(j,1,n) lx[i]=max(lx[i],w[i][j]);
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:80:9: note: in expansion of macro ‘Rf’
80 | Rf(j,1,n) lx[i]=max(lx[i],w[i][j]);
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:82:5: note: in expansion of macro ‘Rf’
82 | Rf(i,1,n) while(true) {
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:82:5: note: in expansion of macro ‘Rf’
82 | Rf(i,1,n) while(true) {
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘j’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:83:9: note: in expansion of macro ‘Rf’
83 | Rf(j,1,n) S[j]=T[j]=false;
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:83:9: note: in expansion of macro ‘Rf’
83 | Rf(j,1,n) S[j]=T[j]=false;
| ^~
foo.cc: In function ‘int main()’:
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:101:5: note: in expansion of macro ‘Rf’
101 | Rf(i,1,n) {//定坐标
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:101:5: note: in expansion of macro ‘Rf’
101 | Rf(i,1,n) {//定坐标
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:108:5: note: in expansion of macro ‘Rf’
108 | Rf(i,1,n) {
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:108:5: note: in expansion of macro ‘Rf’
108 | Rf(i,1,n) {
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:115:5: note: in expansion of macro ‘Rf’
115 | Rf(i,1,n) Rf(j,1,n) w[i][j]=1;//普遍缘分的
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:115:5: note: in expansion of macro ‘Rf’
115 | Rf(i,1,n) Rf(j,1,n) w[i][j]=1;//普遍缘分的
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘j’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:115:15: note: in expansion of macro ‘Rf’
115 | Rf(i,1,n) Rf(j,1,n) w[i][j]=1;//普遍缘分的
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:115:15: note: in expansion of macro ‘Rf’
115 | Rf(i,1,n) Rf(j,1,n) w[i][j]=1;//普遍缘分的
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘I’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:125:5: note: in expansion of macro ‘Rf’
125 | Rf(I,1,n) Rf(J,1,n) {//暴力枚举两点是否可连
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:125:5: note: in expansion of macro ‘Rf’
125 | Rf(I,1,n) Rf(J,1,n) {//暴力枚举两点是否可连
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘J’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:125:15: note: in expansion of macro ‘Rf’
125 | Rf(I,1,n) Rf(J,1,n) {//暴力枚举两点是否可连
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:125:15: note: in expansion of macro ‘Rf’
125 | Rf(I,1,n) Rf(J,1,n) {//暴力枚举两点是否可连
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:131:13: note: in expansion of macro ‘Rf’
131 | Rf(i,1,n) {
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:131:13: note: in expansion of macro ‘Rf’
131 | Rf(i,1,n) {
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘j’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:141:20: note: in expansion of macro ‘Rf’
141 | if(pd) Rf(j,1,n) {
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:141:20: note: in expansion of macro ‘Rf’
141 | if(pd) Rf(j,1,n) {
| ^~
foo.cc:16:29: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses]
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:155:5: note: in expansion of macro ‘Rf’
155 | Rf(i,1,n) ans+=lx[i]+ly[i];//顶标和即是答案
| ^~
foo.cc:16:29: note: remove parentheses
16 | #define Rf(a,b,c) for(R int (a)=(b);(a)<=(c);++(a))
| ^~~
foo.cc:155:5: note: in expansion of macro ‘Rf’
155 | Rf(i,1,n) ans+=lx[i]+ly[i];//顶标和即是答案
| ^~