0_0_14274265_21487.cpp:48:9: error: missing terminating ' character
if(mp[1][1]=='0){//从原点一直走0的位置,中间经过的0的位置距离终点最短的点
^
0_0_14274265_21487.cpp: In function 'int main()':
0_0_14274265_21487.cpp:49:13: error: expected primary-expression before 'int'
int flag=1;
^
0_0_14274265_21487.cpp:49:13: error: expected ')' before 'int'
0_0_14274265_21487.cpp:55:20: error: 'flag' was not declared in this scope
if(flag==0)
^
0_0_14274265_21487.cpp:58:17: error: 'flag' was not declared in this scope
flag=0;
^
0_0_14274265_21487.cpp:106:9: error: 'else' without a previous 'if'
else{
^
0_0_14274265_21487.cpp:107:13: error: 'cnt1' was not declared in this scope
cnt1=1;
^
0_0_14274265_21487.cpp:112:24: error: 'minv' was not declared in this scope
for(int i=1;i<=minv;i++){
^
0_0_14274265_21487.cpp:115:27: error: 'cnt1' was not declared in this scope
for(int j=0;j<cnt1;j++){
^
0_0_14274265_21487.cpp:146:17: error: 'cnt1' was not declared in this scope
cnt1=cnt2;
^
0_0_14274265_21487.cpp:155:17: error: 'cnt1' was not declared in this scope
cnt1=cnt3;
^
0_0_14274265_21487.cpp:162:24: error: 'minv' was not declared in this scope
for(int i=0;i<=minv;i++){
^
0_0_14274265_21487.cpp: At global scope:
0_0_14274265_21487.cpp:170:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_14274265_21487.cpp:171:1: error: expected declaration before '}' token
}
^
|