foo.cc: In function 'std::ostream& operator<<(std::ostream&, std::array<_Tp, _Nm>&)':
foo.cc:33:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
33 | #define REP(i, n) for (int i=0;i<n;++i)
| ^~~
foo.cc:223:5: note: in expansion of macro 'REP'
223 | REP(i, N-1) out << a[i] << " "; if (N) out << a.back();
| ^~~
foo.cc:223:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
223 | REP(i, N-1) out << a[i] << " "; if (N) out << a.back();
| ^~
foo.cc: In function 'std::ostream& operator<<(std::ostream&, std::vector<_Tp>&)':
foo.cc:33:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
33 | #define REP(i, n) for (int i=0;i<n;++i)
| ^~~
foo.cc:227:5: note: in expansion of macro 'REP'
227 | REP(i, SZ(a)-1) out << a[i] << " "; if (SZ(a)) out << a.back();
| ^~~
foo.cc:227:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
227 | REP(i, SZ(a)-1) out << a[i] << " "; if (SZ(a)) out << a.back();
| ^~
foo.cc: In function 'int main()':
foo.cc:36:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
36 | #define REP_1(i, n) for (int i=1;i<=n;++i)
| ^~~
foo.cc:290:9: note: in expansion of macro 'REP_1'
290 | REP_1(j, i) checkMin(f[i][j], f[i][j-1] + v[j]); checkMin(f[i][1], f[i][i] + v[1]);
| ^~~~~
foo.cc:290:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
290 | REP_1(j, i) checkMin(f[i][j], f[i][j-1] + v[j]); checkMin(f[i][1], f[i][i] + v[1]);
| ^~~~~~~~
foo.cc:38:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
38 | #define DWN_1(i, b, a) for (int i=b;i>=a;--i)
| ^~~
foo.cc:291:9: note: in expansion of macro 'DWN_1'
291 | DWN_1(j, i, 1) checkMin(f[i][j], f[i][j+1] + v[j]); checkMin(f[i][i], f[i][1] + v[i]);
| ^~~~~
foo.cc:291:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
291 | DWN_1(j, i, 1) checkMin(f[i][j], f[i][j+1] + v[j]); checkMin(f[i][i], f[i][1] + v[i]);
| ^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务