0_0_24939048_5671.cpp: In function 'bool check(int)': 0_0_24939048_5671.cpp:50:19: error: 'j' was not declared in this scope if(i!=j&&d[t][i]+d[t][j]>x) addEdge(i<<1|t,j<<1|(1-t)),addEdge(j<<1|t,i<<1|(1-t)); ^