This commit is contained in:
James 2020-04-04 22:55:33 +08:00
parent e32b5e9ec0
commit 61ee77b35f
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ int main()
}
}
}
int t=b[1],w=l[1];
if(t>w){
int e=t;
@ -31,6 +32,7 @@ int main()
ans+=2;
}
}
t=b[0],w=l[0];
if(t>w){
int e=t;
@ -42,6 +44,7 @@ int main()
ans+=2;
}
}
int ax=b[0]-l[0];
int bx=b[1]-l[1];
if(ax<0) ax*=-1;