/in/foo.cc: In function 'bool spfa(int)':
/in/foo.cc:10:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (!q.empty()) q.pop();q.push(s),dis[s]=cnt[s]=0,inq[s]=true;
^~~~~
/in/foo.cc:10:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while (!q.empty()) q.pop();q.push(s),dis[s]=cnt[s]=0,inq[s]=true;
^
/in/foo.cc: In function 'bool chk(int)':
/in/foo.cc:20:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (register int i=1;i<=n;++i) e[i].val+=x,e[n+i].val+=x;rtv=spfa(1);
^~~
/in/foo.cc:20:60: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (register int i=1;i<=n;++i) e[i].val+=x,e[n+i].val+=x;rtv=spfa(1);
^~~
/in/foo.cc:21:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (register int i=1;i<=n;++i) e[i].val-=x,e[n+i].val-=x;return rtv;
^~~
/in/foo.cc:21:60: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (register int i=1;i<=n;++i) e[i].val-=x,e[n+i].val-=x;return rtv;
^~~~~~
/in/foo.cc: In function 'void sol()':
/in/foo.cc:26:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (chk(0)) return puts("0"),void();if (!typ) return puts("1"),void();
^~
/in/foo.cc:26:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (chk(0)) return puts("0"),void();if (!typ) return puts("1"),void();
^~
/in/foo.cc:27:60: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int l=1,r=1000000000,mid;while (l<r) cerr<<mid<<endl,mid=l+r>>1,(chk(mid)?r=mid:l=mid+1);
~^~
/in/foo.cc:27:45: warning: 'mid' may be used uninitialized in this function [-Wmaybe-uninitialized]
int l=1,r=1000000000,mid;while (l<r) cerr<<mid<<endl,mid=l+r>>1,(chk(mid)?r=mid:l=mid+1);
^~~