@[penguin_is_cool](/user/1065176) 你把你的枚举AC代码给我看看啊
by Rieman_sum @ 2024-01-10 14:15:52
《难道不是枚举》《60pts》
```cpp
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int bx,by,hx,hy,zu[30][30];
cin>>bx>>by>>hx>>hy;
memset(zu,0,sizeof(zu));
bx+=2;
by+=2;
hx+=2;
hy+=2;
zu[hx+1][hy+2]=0;
zu[hx+1][hy-2]=0;
zu[hx+2][hy+1]=0;
zu[hx+2][hy-1]=0;
zu[hx-1][hy+2]=0;
zu[hx-1][hy-2]=0;
zu[hx-2][hy+1]=0;
zu[hx-2][hy-1]=0;
zu[hx][hy]=0;
long long int a[41][41];
memset(a,0,sizeof(a));
zu[2][2]=0;
for (int i=2;i<=bx;i++) {
for (int o=2;o<=by;o++){
if (i==2 or o==2) zu[i][o]=1;
else zu[i][o]=zu[i-1][o]+zu[i][o-1];
zu[2][2]=0;
zu[hx+1][hy+2]=0;
zu[hx+1][hy-2]=0;
zu[hx+2][hy+1]=0;
zu[hx+2][hy-1]=0;
zu[hx-1][hy+2]=0;
zu[hx-1][hy-2]=0;
zu[hx-2][hy+1]=0;
zu[hx-2][hy-1]=0;
zu[hx][hy]=0;
}
}
cout<<zu[bx][by];
}
```
by Rieman_sum @ 2024-01-10 14:17:04
发帖用用脑子好吧
by Rieman_sum @ 2024-01-10 14:17:16
你不AC就屁用没有资格讲“改标签”
by Rieman_sum @ 2024-01-10 14:17:59