/in/foo.cc: In function 'void init()':
/in/foo.cc:35:51: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
vector<pair<int,int>>().swap(v[i]),vis[i]=cnt[i]=id[i]=0,q[i]={0,0,0},dis[i]=0x3f3f3f3f3f3f3f3f;
~~~~~~^~~~~~~~
/in/foo.cc:36:21: warning: iteration 100005 invokes undefined behavior [-Waggressive-loop-optimizations]
fo(j,0,50)dp[j][i]=0;
~~~~~~~~^~
/in/foo.cc:4:32: note: within this loop
#define fo(i,l,r) for(int i=l;i<=r;i++)
/in/foo.cc:34:5:
fo(i,0,200000){
~~~~~
/in/foo.cc:34:2: note: in expansion of macro 'fo'
fo(i,0,200000){
^~