0_0_14497519_28923.cpp: In function 'int main()':
0_0_14497519_28923.cpp:88:17: error: redeclaration of 'int v1'
int v1=ms63;if(b[ed])v1=max(d[ed-1]+1,d[a[b[ed]]]+1);//从前而来的话,需要比前后都大
^
0_0_14497519_28923.cpp:66:17: note: 'int v1' previously declared here
int v1=ms63;if(b[st])v1=d[st-1]+1;//从前而来的话,只需比之前一个大即可
^
0_0_14497519_28923.cpp:89:17: error: redeclaration of 'int v2'
int v2=ms63;if(c[ed])v2=d[ed-1]+1;//从后而来的话,只需比之后一个大即可
^
0_0_14497519_28923.cpp:67:17: note: 'int v2' previously declared here
int v2=ms63;if(c[st])v2=max(d[st-1]+1,d[a[c[st]]]+1);//从后而来的话,需要比前后都大
^
0_0_14497519_28923.cpp:91:17: error: redeclaration of 'int v'
int v=min(v1,v2);//尝试取最小值更新它
^
0_0_14497519_28923.cpp:69:17: note: 'int v' previously declared here
int v=min(v1,v2);//尝试取最小值更新它
^
|